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

Error in the predict() function from the Report jupyter notebook.. #2

Open
krishnanpc opened this issue Apr 13, 2020 · 0 comments
Open

Comments

@krishnanpc
Copy link

Hello,

Thanks for the great project. It is quite interesting. As a learning exercise, I was trying to reproduce your results by rerunning your project. (New to Pytorch)

I am trying to run your

Report_Thomas_MacDougall.ipynb

in colab.

During the predict phase in the Edge Memory NN,
I get a ValueError: Wrong number of items passed 2, placement implies 1 while trying to insert the output into the dataframe.

df.insert(1, 'pred_log_std_scaled', output, True).

When I look for the shape of the output variable in the predict function, it is of 46 x 2 and the test dataset is of 819 x 1. This size match might be causing the error. Just wondering what output means there? Should it also be of 819 x 1. ( ie; one value of each of the input entry).

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