jianzongwu/betrayed-by-captions

Apply for open_set/datasets/build_dataloader.py

Closed this issue · 2 comments

Hi, thanks for releasing your great work. However, when I run "python tools/train.py" to try to reproduce, an error appears as follows:
ImportError: cannot import name 'build_dataloader' from 'open_set.datasets'
It seems that the build_dataloader.py function is missing, could you kindly provide the missing file? Thanks a lot.

Hello, I checked the code and found there is an import bug.
Actually, we do not need build_dataloader.py. Just using the build_dataloader function in MMDET is enough.
I have fixed it to import build_dataloader.py from MMDET.
Now "python tools/train.py" can be run successfully.

Thank you for your suggestion!

This issue will be closed if no related bugs are further reported.

Hi, the issue has been solved! Many thanks to the authors.