How to prepare data for SupervisedNN10 #181
Unanswered
icarosadero
asked this question in
Q&A
Replies: 1 comment
-
Hi @icarosadero , happy to check. Could you upload your whole code to repro your error? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have neural data of a single individual of a single experiment over time. I also have a binary label that goes along with it. My goal is to use the SupervisedNN10 to see if it is able to predict the label at a given time.
I loaded the data using
cebra.data.TensorDataset
for both train and test like this:Then, I instantiated the model like so:
By the way, I don't know what "num_units" stands for in here.
Now, I expect
train.offset
andtest.offset
to have size 10.The criterion and optimizer were instantiated like this:
And finally, the solver and Data Loaders:
Now, one thing that I noticed getting an example of the Data Loader output is that it can't be indexed. And indeed, when I try to run the solver, I get this error:
Am I supposed to be using some other Data Loader?
Beta Was this translation helpful? Give feedback.
All reactions