braun-steven / DAFNe

Code for our paper "DAFNe: A One-Stage Anchor-Free Deep Model for Oriented Object Detection".
MIT License
60 stars 12 forks source link

ModuleNotFoundError: No module named 'dafne' #14

Closed Pranav110500 closed 1 year ago

Pranav110500 commented 1 year ago

@braun-steven Sir, could you help me with the following error? I am not sure where I've gone wrong while trying to execute the code. I've attached an image below for your reference. Kindly do let me know how to rectify this. Screenshot from 2023-02-12 23-11-38

braun-steven commented 1 year ago

Can you try to prepend PYTHONPATH=./ to your command?

Pranav110500 commented 1 year ago

So I was able to clear that error, thanks a lot for the quick response, Sir. However a bunch of new ones are popping up while running the command, as I'm not too accustomed yet (pretty much I'm a novice), I'd need help to clarify these too, and will greatly appreciate it.

Screenshot from 2023-02-12 23-59-45

braun-steven commented 1 year ago

You need to separate the variable PYTHONPATH=./ from the script call ./tools/plain_train_net.py. Your full command should be:

PYTHONPATH=./ NVIDIA_VISIBLE_DEVICES=1 ./tools/plain_train_net.py ./configs/dota-1.5/1024.yaml