corenel / pytorch-adda

A PyTorch implementation for Adversarial Discriminative Domain Adaptation
MIT License
474 stars 139 forks source link

something about eval #24

Open mrsempress opened 4 years ago

mrsempress commented 4 years ago

I don't know in test.py lines 25: labels = make_variable(labels).squeeze_(), why the lables need squeeze_(), and in 'pretrain.py' the labels don't need squeeze(). Maybe because the USPS dataset?