google / sg2im

Code for "Image Generation from Scene Graphs", Johnson et al, CVPR 2018
Apache License 2.0
1.29k stars 230 forks source link

No module named 'sg2im' #30

Closed zohairhadi closed 2 years ago

zohairhadi commented 2 years ago

Hello there,

I was trying to run the pretrained model using the method descried in the ReadMe, but was getting the following error.

Traceback (most recent call last): File "scripts/run_model.py", line 22, in <module> from sg2im.model import Sg2ImModel ModuleNotFoundError: No module named 'sg2im'

Any help would be greatly appreciated.

zohairhadi commented 2 years ago

Resolved by moving the run_models.py to the root directory.