Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'deblurgan' #40

Open
w3aryb0arpig opened this issue Jan 15, 2019 · 5 comments
Open

ModuleNotFoundError: No module named 'deblurgan' #40

w3aryb0arpig opened this issue Jan 15, 2019 · 5 comments

Comments

@w3aryb0arpig
Copy link

When calling 'scripts/deblur_image.py', I receive the below:-

Traceback (most recent call last):
  File "/content/deblur-gan/scripts/deblur_image.py", line 5, in <module>
    from deblurgan.model import generator_model
ModuleNotFoundError: No module named 'deblurgan'
@hala3
Copy link

hala3 commented Jan 21, 2019

when i test the pretrained model i have a problem with preprocess_image and depreprocess_image
how i can delete this function to have a RGB image without preprocess or depreprocess

@ChristianoPenaldo
Copy link

cp scripts/* . (in deblur-gan, i.e., root file), to copy the files from scripts/ to the root directory. That fixes.
Well, the training process is extremely slow with 2 NVIDIA Tesla K80s.

@rahulvigneswaran
Copy link

cp scripts/* . (in deblur-gan, i.e., root file), to copy the files from scripts/ to the root directory. That fixes.
Well, the training process is extremely slow with 2 NVIDIA Tesla K80s.

@ChristianoPenaldo Can you explain the work around a bit more clearly ?

@jpds
Copy link

jpds commented Mar 4, 2019

I fixed this with:

$ PYTHONPATH=. python3 scripts/train.py --n_images=512 --batch_size=16 --log_dir logs

@dyfloveslife
Copy link

@jpds you are train, not deblur_image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants