Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hello,i have a question on the code in dl_trainer.py #2

Open
wheeOuO opened this issue Apr 26, 2021 · 3 comments
Open

hello,i have a question on the code in dl_trainer.py #2

wheeOuO opened this issue Apr 26, 2021 · 3 comments

Comments

@wheeOuO
Copy link

wheeOuO commented Apr 26, 2021

i want to use MG-WFBP to train the ResNet-50 model,but when I ran the code in Linux, an error occurred, which prompted me ‘’ModuleNotFoundError: No module named 'DatasetHDF5' ‘’.I see "from datasets import DatasetHDF5" in Line27 in dl_trainer.py,and i tried to use "pip install" and "conda install" to install this module,but it failed.How to solve this problem?

@shyhuai
Copy link
Collaborator

shyhuai commented Apr 26, 2021

Hi, it seems that this file is incorrectly ignored by .gitignore. I have uploaded datasets.py. Please pull and try again. Thanks.

@wheeOuO
Copy link
Author

wheeOuO commented Apr 26, 2021

Thanks! But there's a new error"ValueError: The SWMR feature is not available in this version of the HDF5 library".

@shyhuai
Copy link
Collaborator

shyhuai commented Apr 26, 2021

Please set swmr=False if you are using a new version of hdf5 at: https://github.com/HKBU-HPML/MG-WFBP/blob/master/datasets.py#L14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants