This is a pyTorch framework used for
- Creating specially designed networks or layers.
- Parallel Data pre- and post- processing as a powerful alternative of
torch.utils.data.DataLoader
. - Callback-function based data visualizer as an alternative of
seaborn
. - Web tools for downloading tarball-packed datasets from Github.
- Some modified third-party utilities.
Currently, this project is still under-development. We suggest to use the following steps to add the package as a sub-module in your git-project,
cd <your-project-folder>
git submodule add https://github.com/cainmagi/MDNC.git mdnc
git submodule update --init --recursive
After that, you could use the pacakge by
from mdnc import mdnc
If you want to update the sub-module to the newest version, please use
git submodule update --remote --recursive
Now we have such progress on the semi-product:
-
optimizers
-
modules
-
models
-
data
-
h5py
: Wrapped HDF5 datasets saver and loader. -
netcdf4
: Wrapped NETCDF4 datasets saver and loader. -
bcolz
: Wrapped Bcolz datasets saver and loader. -
text
: Wrapped text-based datasets saver and loader (CSV, JSON, TXT). -
preprocs
: Useful pre- and post- processing tools for all data handles in this package. -
webtools
: Web tools for downloading tarball-packed datasets from Github.
-
-
funcs
-
utils
-
contribs
View the document via the following link:
https://cainmagi.github.io/MDNC/
To be built now...
Currently, this project has not been checked by compatibility tests. During the developing stage, we are using pyTorch 1.7.0+ and Python 3.6+.
To perform the compatibility test, just run
cd <root-of-this-repo>
python -m mdnc
The compatibility test is shown as below. The checked item means this package performs well in the specific enviroment.
Enviroment | Win | Linux |
---|---|---|
pyTorch 1.7.0, Python 3.8 | ✅ | |
pyTorch 1.8.0, Python 3.8 | ✅ | |
pyTorch 1.6.0, Python 3.7 | ||
pyTorch 1.4.0, Python 3.7 | ||
pyTorch 1.2.0, Python 3.6 | ||
pyTorch 1.0.0, Python 3.5 |
- Support
thread_type
fordata.h5py.H*Parser
. - Fix a bug when GPU is absent for
data.sequence
.
- Add
DecoderNet
to our standardmodule
protocol. - Fix some bugs of
data.h5py
anddata.preprocs
. - Make
draw.setFigure
enhanced bycontextlib
. - Add a title in
Readme.md
. - Fix typos and bugs in
data
andmodules
. - Add properties
nlayers
,input_size
for networks inmodules
.
- Fix more feature problems in
contribs.torchsummary
. - Fix bugs and finish
data.preprocs
. - Add more features in
data.webtools
.
- Create this project.
- Add packages:
contribs
,data
,modules
,utils
. - Finish
modules.conv
,modules.resnet
. - Finish
data.h5py
,data.webtools
. - Finish
contribs.torchsummary
. - Drop the plan for supporting
contribs.tqdm
, addutils.ContexWrapper
as for instead. - Add testing function for
data.webtools.DataChecker
.