Mephisto405 / Learning-Loss-for-Active-Learning

Reproducing experimental results of LL4AL [Yoo et al. 2019 CVPR]
215 stars 50 forks source link

question about then loss function #8

Open blue-xuhu opened 4 years ago

blue-xuhu commented 4 years ago

hello i,read your code.i have some question. Is the loss function unique? is the way you do about loss function same with Original author? i am not sure about this and the paper don't say it clearly yet

Mephisto405 commented 4 years ago

Yeah, the loss function I implemented in this repository is exactly the same as the one in the reference paper. Take a look at the formula (2) on page 96. LL4AL paper link If you mean the 'target loss' for the CIFAR10 classification task, I think the authors use cross-entropy loss according to the 3rd-6th line of page 98. Since the cross-entropy loss is a typical choice for the CIFAR10 classification task.

blue-xuhu commented 4 years ago

Thanks for your reply about loss loss function。 I ran into another problem during the experiment。When using the initialized data set for the first training on the paper,The method of this paper and other methods have achieved almost the same accuracy。I refer to your code, tried many times but couldn't do this. The method in this paper uses the target model and lossnet, while other methods only use the target model. So how did they get the same accuracy in the first training?

Bardielz commented 3 years ago

Thanks for your reply about loss loss function。 I ran into another problem during the experiment。When using the initialized data set for the first training on the paper,The method of this paper and other methods have achieved almost the same accuracy。I refer to your code, tried many times but couldn't do this. The method in this paper uses the target model and lossnet, while other methods only use the target model. So how did they get the same accuracy in the first training?

helllo,did you finish the problem?