relation-networks-pytorch icon indicating copy to clipboard operation
relation-networks-pytorch copied to clipboard

Validation accuracy on CLEVR

Open aelnouby opened this issue 6 years ago • 5 comments

Hi,

I have been trying to implement the relational network paper train it on CLEVR dataset, however my results are way off the results reported in the paper. I am curious to know what was the best results you got using your code(train/validation) ?

Another question, in the paper and in your code it is stated that the final layer has a 29 neurons corresponding to 29 classes. However when I parsed and tokenized the answers they were only 28 unique answers, what is the 29th class ?

Thanks.

aelnouby avatar Apr 13 '18 17:04 aelnouby

I got about 65% test accuracy. (I remember train accuracy was about the same.) When I use 2x2 pooling in the convolution module then I got about 75% train accuracy and 55% test accuracy.

And number of the classes is 28. I think it is typo and I just used that number.

rosinality avatar Apr 13 '18 22:04 rosinality

Thanks so much for your reply.

aelnouby avatar Apr 16 '18 18:04 aelnouby

Hi @rosinality , thanks for sharing this awesome implementation. Wondering if this issue has been resolved, i.e. test accuracy goes over 90% now. Thanks!

xeniaqian94 avatar May 02 '19 19:05 xeniaqian94

@xeniaqian94 Yes, I got about 92-93% by using tricks suggested by @mesnico. It is crucial to use a kind of warm up learning rate schedules.

rosinality avatar May 03 '19 01:05 rosinality

Thanks Kim for this nice confirmation!

On May 2, 2019, at 9:03 PM, Kim Seonghyeon [email protected] wrote:

@xeniaqian94 https://github.com/xeniaqian94 Yes, I got about 92-93% by using tricks suggested by @mesnico https://github.com/mesnico. It is crucial to use a kind of warm up learning rate schedules.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rosinality/relation-networks-pytorch/issues/1#issuecomment-488883261, or mute the thread https://github.com/notifications/unsubscribe-auth/AB3ASH72ZMGL2M4QUB4S4FTPTOFN7ANCNFSM4E2PHITA.

xeniaqian94 avatar May 03 '19 01:05 xeniaqian94