TencentARC/T2I-Adapter

About sketch map

Alisaleelee opened this issue · 0 comments

Hi,

The author mentioned, "The corresponding sketch maps are generated with the edge prediction model of [41] and then are thresholded with 0.5." in the main paper.

I wanna know where to set the threshold=0.5 ? Maybe within the following command in PidiNet?
python main.py --model pidinet_converted --config carv4 --sa --dil -j 4 --gpu 0 --savedir /path/to/savedir --datadir /path/to/custom_images --dataset Custom --evaluate /path/to/table5_pidinet/save_models/checkpointxxx.pth --evaluate-converted