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

ModuleNotFoundError: No module named 'data.sampler' #8

Closed
DDxk369 opened this issue May 21, 2022 · 4 comments
Closed

ModuleNotFoundError: No module named 'data.sampler' #8

DDxk369 opened this issue May 21, 2022 · 4 comments

Comments

@DDxk369
Copy link

DDxk369 commented May 21, 2022

    您好,感谢您提供了这一富有创造性的想法,但是当我试图运行`main_train.py`时,发现options路径下并没有data文件,这一缺失导致代码第一步就无法正常运行,请您查看下,谢谢

Traceback (most recent call last):
File "main_train.py", line 6, in
from options.opts import get_training_arguments
File "/content/EdgeFormer/options/opts.py", line 3, in
from data.sampler import arguments_sampler
ModuleNotFoundError: No module named 'data.sampler'

@KelOdgSmile
Copy link

I ran into this problem as well. It comes from the code having been sort of rigged into apples repo https://github.com/apple/ml-cvnets
You can join the two repos yourself or if you just want to extract the model you can safely remove a lot of the imports and call the model builder in your code.

@DDxk369
Copy link
Author

DDxk369 commented May 23, 2022

thankyou :)

@hkzhang-git
Copy link
Owner

thanks you guys for your interesting, please wait me a few days. I'm writing rebuttals recently. I will check this problem and solve it asap. Thanks for your patience.

@hkzhang-git
Copy link
Owner

Dataloader related files( including smaplers, transforms, etc.) have been uploaded.

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

3 participants