perceiver-pytorch icon indicating copy to clipboard operation
perceiver-pytorch copied to clipboard

Share an example notebook

Open aadimator opened this issue 3 years ago • 5 comments

First of all, thanks for such an awesome implementation. One suggestion is to add a simple example training notebook so one can easily understand how to use this on an actual dataset like IMDB and such. That'd would be huge help. Thanks

aadimator avatar Mar 29 '21 06:03 aadimator

What about this?

https://colab.research.google.com/drive/1rCZWPpFlgPZC_sqiUtKRSf16rScJi0JW?usp=sharing

I have prepared notebook for very bare 'object detection' . Would like to improve on it later on

@lucidrains Is this sufficient to show how perceiver works?

batrlatom avatar Mar 31 '21 09:03 batrlatom

@batrlatom I think it would be better to run this on cifar-10 or 100!

lucidrains avatar Mar 31 '21 18:03 lucidrains

I will do an example on cifar100

batrlatom avatar Mar 31 '21 19:03 batrlatom

@batrlatom How do you determine your hyperparameters? Such as num_freq_bands and max_freq

BTW,
" attn_dropout = 0.5, ff_dropout = 0.5, " half dropped out?

lzmax888 avatar Apr 01 '21 08:04 lzmax888

It was just trial and error. It worked for me on mnist and my custom problem with object detection. Honestly, not so much on cifar. I am trying the original params now.

batrlatom avatar Apr 01 '21 08:04 batrlatom