NTS-Net icon indicating copy to clipboard operation
NTS-Net copied to clipboard

I have a question about testing!

Open Xiaoccer opened this issue 6 years ago • 6 comments

Hi, i have a question about testing. Why the test images use center crop instead of scaling to 448x448 directly?

Xiaoccer avatar Oct 30 '18 09:10 Xiaoccer

hi, do you train the model successfully? I have a question that need your help. What does the term_width in core/util.py means?

doublemanyu avatar Nov 01 '18 02:11 doublemanyu

hi, i think the term_width is the width of terminal, you can try to use command line to train the model or fix the term_width number.

Xiaoccer avatar Nov 01 '18 12:11 Xiaoccer

hi, i think the term_width is the width of terminal, you can try to use command line to train the model or fix the term_width number.

Hi, I fix the term_width=50, then run util.py successfully. And I try to train the model by command line. The error stills there. such as RuntimeError: Expected object of type torch.cuda.LongTensor but found type torch.cuda.IntTensor for argument #3 'index'. Do you meet the same problem?

doublemanyu avatar Nov 02 '18 01:11 doublemanyu

@doublemanyu Hey, please show more error details for this ERROR, but I guess you need to change at here , just have a try.

ygean avatar Nov 02 '18 02:11 ygean

@Xiaoccer I do not want to change the data distribution of training images and testing images. So I use the cropping strategy.

yangze0930 avatar Dec 05 '18 08:12 yangze0930

@yangze0930 So actually the accuracy on cropped test set can not be used as final performance?

RunshengZhu avatar Oct 23 '19 01:10 RunshengZhu