Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error when run "save_logprob" #18

Open
mariamartinmarin opened this issue May 5, 2021 · 0 comments
Open

An error when run "save_logprob" #18

mariamartinmarin opened this issue May 5, 2021 · 0 comments

Comments

@mariamartinmarin
Copy link

mariamartinmarin commented May 5, 2021

Hello everyone.
First of all, I would like to thank the author for his magnificent work.
Now I expose you my problem.
I have managed to train the model with my own dataset, but then when I try to run "save_logprob" the following error occurs:

File "geotracknet.py", line 157, in <module>
     D["seq"] = np.zeros(tar[:seq_len_d,d_idx_inbatch])[1].reshape(-1,4)
ValueError: cannot reshape array of size 574 into shape(4)

It seems that the array to which we apply the reshape method does not have the necessary elements to be able to group 4 by 4. Does anyone know to what can be due?

I would be very grateful if someone answers me.
Best regards and thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant