Open zcqacqwc opened 1 month ago
Please check the file mmdet/models/losses/cross_entropy_loss.py
in your environment's mmdetection package. Is this file the same as the implementation of this repo?
Yes, that's correct. The file mmdet/models/losses/cross_entropy_loss.py exists. However, I am encountering the following error:
ImportError: cannot import name 'generate_block_target' from 'mmdet.models.losses.cross_entropy_loss' (/opt/conda/lib/python3.8/site-packages/mmdet/models/losses/cross_entropy_loss.py).
How can I resolve this issue?
Yes, that's correct. The file mmdet/models/losses/cross_entropy_loss.py exists. However, I am encountering the following error:
ImportError: cannot import name 'generate_block_target' from 'mmdet.models.losses.cross_entropy_loss' (/opt/conda/lib/python3.8/site-packages/mmdet/models/losses/cross_entropy_loss.py).
How can I resolve this issue?
I'm running into the same error—any idea how to fix it?
I’m experiencing an issue. I’ve set up the environment and configured the dataset correctly, but when I run the code, this error appears. How can I resolve it
please help me