You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In practice, I add a debug line import ipdb; ipdb.set_trace() in ui_model.py at line 321. You can run the GUI with the following steps:
Rename the test checkpoint as "bird" or "coco" in the checkpoints like ./checkpoints/bird/
Run the command: python ui_main.py --img_file ./datasets/CUB_200_2011/valid.flist --no_variance --display_port 8000 --gpu_id -1 --results_dir result/ --model tdanet
The program will wait at line 321 during inpainting, then you need to input ''c'' at the debug console to get the completed image.
Operation on UI
Why using the debug code
In my desktop, PyQt5 will break after filling, without any error info for the python codes. Waiting at line 321 and then continue could avoid the problem.
Thanks for your code. I wonder if you can introduce how to run the GUI operation in the debug mode more specifically?
The text was updated successfully, but these errors were encountered: