diff --git a/docs/en/conf.py b/docs/en/conf.py index 0448eb5..d24c6ae 100644 --- a/docs/en/conf.py +++ b/docs/en/conf.py @@ -25,14 +25,14 @@ copyright = '2021-2024, CAIRI' author = 'CAIRI OpenMixup Authors' -# The full version, including alpha/beta/rc tags -version_file = '../../openmixup/version.py' +# # The full version, including alpha/beta/rc tags +# version_file = '../../openmixup/version.py' -def get_version(): - with open(version_file, 'r') as f: - exec(compile(f.read(), version_file, 'exec')) - return locals()['__version__'] +# def get_version(): +# with open(version_file, 'r') as f: +# exec(compile(f.read(), version_file, 'exec')) +# return locals()['__version__'] # release = get_version() @@ -186,8 +186,8 @@ def get_version(): # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - (root_doc, 'openmixup', 'OpenMixup Documentation', author, 'openstl', - 'CAIRI Supervised, Semi- and Self-Supervised Visual Representation Learning Toolbox and Benchmark.', 'Miscellaneous'), + (root_doc, 'openmixup', 'OpenMixup Documentation', author, + 'CAIRI Supervised, Semi- and Self-Supervised Visual Representation Learning Toolbox and Benchmark.', 'Miscellaneous'), ] # -- Options for Epub output ------------------------------------------------- diff --git a/docs/en/tutorials/1_new_dataset.md b/docs/en/tutorials/1_new_dataset.md index 89c1ec7..2af8c79 100644 --- a/docs/en/tutorials/1_new_dataset.md +++ b/docs/en/tutorials/1_new_dataset.md @@ -33,7 +33,7 @@ ILSVRC2012_val_00000004.JPEG 809 ILSVRC2012_val_00000005.JPEG 516 ``` -Note: The value of ground-truth labels should fall in range `[0, num_classes - 1]`. Please refer to [INSTALL](https://github.com/Westlake-AI/openmixup/tree/main/docs/en/install.md) [meta files](https://github.com/Westlake-AI/openmixup/releases/download/dataset/meta.zip) for examples. +Note: The value of ground-truth labels should fall in range `[0, num_classes - 1]`. Please refer to [INSTALL](https://github.com/Westlake-AI/openmixup/tree/main/docs/en/install.md) for setup instructions and [meta files](https://github.com/Westlake-AI/openmixup/releases/download/dataset/meta.zip) for the list file examples. ### An example of customized dataset diff --git a/requirements/readthedocs.txt b/requirements/readthedocs.txt index e756e5f..ac988bd 100644 --- a/requirements/readthedocs.txt +++ b/requirements/readthedocs.txt @@ -1,19 +1,2 @@ -attrs -einops -importlib-metadata -matplotlib -mmcv-full>=1.4.7,<=1.7.2 -numpy -opencv-python -packaging -pandas -scipy -scikit-learn -seaborn -six -tensorboard -timm -tqdm torch torchvision -openmixup