Skip to content

Seeking Help with an Issue #2

Description

@ZeoLuuuuuu

The error message is as follows:

Traceback (most recent call last):
File "D:\Detection_code\VCO-AP-master\main.py", line 17, in
from attacking import attack
File "D:\Detection_code\VCO-AP-master\attacking.py", line 10, in
from mmdet.apis.test import normalize
ImportError: cannot import name 'normalize' from 'mmdet.apis.test' (D:\Anaconda3\envs\adv_defense\lib\site-packages\mmdet\apis\test.py)

I encountered an issue where the imported function could not be found while running your codes. The specific location is in line 10 of attacking.py: from mmdet.apis.test import normalize. My version of mmdet is 2.28.2, and only this imported function is missing. In your requirements.txt, the version of mmdet is specified as 3.2.0. However, after I changed to install version 3.2.0, I found that even more imported functions were missing. Could you please advise on how to resolve this issue? Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions