Closed morenzoe closed 4 months ago
@morenzoe Thanks for bringing this up, there was a small bug in tensor dimensions for the synops calculation of LSTMCell and GRUCell. I have fixed it in #227 and it should be pulled in soon.
Thank you for the quick fix! Looking forward to the pip version update 👍
Hi @jasonlyik, it would be very helpful if this fix can be pulled in this week since the BioCAS Grand Challenge deadline is approaching. However I totally understand if it still needs more checks done to ensure proper update. Thanks!
@morenzoe Pulled the fix into latest 1.0.6 pip release.
Also in case you don't want to wait for a new pip release, you can use/edit a local version of the repo by cloning and using poetry, here are instructions: https://github.com/NeuroBench/neurobench#development
Good luck with the BioCAS challenge!
Hi, I would like to ask about the order of tensor dimension for primate reaching task benchmark using LSTM model.
This is my code:
This is the error I got:
I am using a simple LSTMCell from PyTorch example but I change the for loop to iterate on the second dimension since Neurobench dataloader give samples in the shape of [batch_size, num_steps, channel].
Is there something wrong with how I set up the LSTM model? Does the forward function has to iterate through the batch_size to use the benchmark? Thank you in advance!