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

ValueError #10

Open
shanealanevans opened this issue Sep 19, 2022 · 1 comment
Open

ValueError #10

shanealanevans opened this issue Sep 19, 2022 · 1 comment

Comments

@shanealanevans
Copy link

Traceback (most recent call last):
File "/Users/shane/Documents/tools/CellCnn/cellCnn/run_analysis.py", line 242, in
main()
File "/Users/shane/Documents/tools/CellCnn/cellCnn/run_analysis.py", line 185, in main
outdir=args.outdir)
File "/Users/shane/Documents/tools/CellCnn/cellCnn/model.py", line 167, in fit
accur_thres=self.accur_thres, verbose=self.verbose)
File "/Users/shane/Documents/tools/CellCnn/cellCnn/model.py", line 484, in train_model
w_best_net = keras_param_vector(best_net)
File "/Users/shane/Documents/tools/CellCnn/cellCnn/utils.py", line 117, in keras_param_vector
W_tot = np.hstack([W.T, b.reshape(-1, 1), W_out])
File "<array_function internals>", line 6, in hstack
File "/Users/shane/.local/share/virtualenvs/CellCnn-MbiXJHLq/lib/python3.7/site-packages/numpy/core/shape_base.py", line 344, in hstack
return _nx.concatenate(arrs, 0)
File "<array_function internals>", line 6, in concatenate
ValueError: all the input arrays must have same number of dimensions, but the array at index 0 has 1 dimension(s) and the array at index 1 has 2 dimension(s)

@shanealanevans
Copy link
Author

This happened when I tried to run the pipwline, it ran and generated about 14 different output files, but then errored out with this message.

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