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

i got error and i don't know why #22

Closed
skyzombie89 opened this issue Aug 15, 2020 · 5 comments
Closed

i got error and i don't know why #22

skyzombie89 opened this issue Aug 15, 2020 · 5 comments

Comments

@skyzombie89
Copy link

--------------------ERROR--------------------
Error Type: <class 'UnboundLocalError'>
local variable 'img_fake' referenced before assignment
<FrameSummary file deepmosaic.py, line 66 in >
<FrameSummary file deepmosaic.py, line 45 in main>
<FrameSummary file D:\DeepMosaics-master\cores\core.py, line 142 in cleanmosaic_video_byframe>
Please press any key to exit.

i run the program on windows 10 with newest python and got this error.

i don't know how to fix it.

@HypoX64
Copy link
Owner

HypoX64 commented Aug 16, 2020

I'm not sure what happened.
You can try the new codes. And if it doesn't work again, please tell me your python and pytorch version.

@skyzombie89
Copy link
Author

i fix it. it was compatibility issues between python and another python i download from conda. by the way i use gpu( my pc has 1070ti and 8600k) but it takes almost 48h to remove mosaic...... it is right? if this is your purpose you should add
Multiprocessing

@HypoX64
Copy link
Owner

HypoX64 commented Aug 17, 2020

Yes,it don't support multiprocessing now. If your video is too long, please use --start_time and --last_time to cut out part of video to test.

@HypoX64 HypoX64 mentioned this issue Aug 17, 2020
@skyzombie89
Copy link
Author

Yes,it don't support multiprocessing now. If your video is too long, please use --start_time and --last_time to cut out part of video to test.

pls show me example of --start_time and --last_time. do i put 2h, 2:00:00 or something else?

@HypoX64
Copy link
Owner

HypoX64 commented Aug 19, 2020

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

2 participants