-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add bindings for StepData types, add operator[] api and bindings with…
… __getitem__ for replay data, add basic python api tests, add python documentation, rename doc folder
- Loading branch information
Showing
27 changed files
with
353 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Dataloading | ||
=========== | ||
|
||
Other than Python bindings to the C++ Replay Database and Structures, we include some basic dataloading utilities and an example for pytorch. | ||
|
||
ReplaySampler | ||
------------- | ||
|
||
.. autoclass:: sc2_replay_reader.sampler.ReplaySampler | ||
:members: | ||
|
||
.. autoclass:: sc2_replay_reader.sampler.BasicSampler | ||
:members: | ||
|
||
.. autoclass:: sc2_replay_reader.sampler.SQLSampler | ||
:members: | ||
|
||
|
||
PyTorch Example | ||
--------------- | ||
|
||
.. autoclass:: sc2_replay_reader.example.SC2Dataset | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ Table of Contents | |
:maxdepth: 2 | ||
|
||
self | ||
cpp_api/index | ||
replay_data | ||
dataloading | ||
benchmark | ||
cpp_api/index |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.