Open Murphy122 opened 3 years ago
I wonder if the author didn't upload the relevant code. If the author sees this issue,please check and help me
I have the same problem:cannot import name 'DOTAOBBDetection' from 'yolox.data'
WhileI wanted to train the model, I found a problem which shows like:
ModuleNotFoundError: No module named 'yolox.data.datasets'
The version YOLOX-Main has a folder named'datasets' in 'yolox/data', but not found in this YOLOX-OBB So I think yolox-obb lacks something about the dataset folder,then I copy the folder from YOLOX-Main , but new error occurs:
ImportError: cannot import name 'DOTAOBBDetection' from 'yolox.data' (/opt/data/private/wangze/YOLOX-OBB/yolox/data/init.py)
Plase help me with my problem
Thank you for your attention. I forgot to modify original .gitignore when I uploaded my code, which cause no datasets in yolox/data. I re-upload yolox/data/datasets, you can try again. Contact me anytime if you have any questions.
@buzhidaoshenme thanks, I'll try it!!!!!!!!!!!!!!!!! : )
WhileI wanted to train the model, I found a problem which shows like:
The version YOLOX-Main has a folder named'datasets' in 'yolox/data', but not found in this YOLOX-OBB So I think yolox-obb lacks something about the dataset folder,then I copy the folder from YOLOX-Main , but new error occurs:
Plase help me with my problem