DexiNed icon indicating copy to clipboard operation
DexiNed copied to clipboard

Testing on a single image (lena_std.tif)

Open siva-kumaran opened this issue 2 years ago • 3 comments

Hi,

I am testing on the single image (data/lean_std.tif) using the command python main.py --choose_test_data=-1. I have added the latest weights in the correct location (checkpoints/BIPED/10/10_model.pth). When I run this command, it starts off alright but after printing the following in the output, it pauses

actual size: (512, 512, 3), target size: (512, 512)

I tried waiting for sometime (at least a minute) because I am running it on CPU. But no luck.

I have tried this with the following changes- --choose_test_data=-1 --workers=8

--is_testing is set to True.

Any ideas what I might be missing?

siva-kumaran avatar Jun 01 '22 08:06 siva-kumaran

Hi, sorry for my late response, how you already solved your problem. But at this point I cannot see any possible solution. By the way, I made a video showing that DexiNed works properly.

xavysp avatar Jun 24 '22 03:06 xavysp

@siva-kumaran hi were you ever able to figure this out? i'm facing exact same problem

sdoski1 avatar Aug 07 '22 16:08 sdoski1

Why don't you put a breakpoint after the line that prints actual size: (512, 512, 3), target size: (512, 512) and then step through to see where it's hanging?

AlphonsG avatar Oct 22 '22 08:10 AlphonsG