ExplainableML / sketch-primitives

ECCV 2022: Abstracting Sketches through Simple Primitives
GNU General Public License v3.0
25 stars 4 forks source link

Error: No module named 'utils.flags' #3

Closed panda7777777 closed 9 months ago

panda7777777 commented 10 months ago

Hi,

I hope this message finds you well. I am currently reproducing with your work and attempted to run the save_processed_images.py script using the following command:

python save_processed_images.py --log-name chairv2_processed --model-type none --dataset chairv2

However, I encountered an import error which states: No module named 'utils.flags'. I've checked for common issues such as the working directory and dependencies, but the issue persists. Could you please advise on how to resolve this error? Any guidance or suggestions regarding the required environment setup or dependencies would be greatly appreciated.

Thank you for your time and assistance. I look forward to exploring your work further.

IMG_0555

panda7777777 commented 9 months ago

You made a mistake with the import statement, the from util.flags import parser should be changed to from utils.arguments import parser.

salaniz commented 9 months ago

Thank you for pointing this out. It should now be fixed.