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

AssertionError, Basenji_test.py 'Conv1D' object has no attribute 'input_shape' #199

Open
PouriaAzadehR opened this issue Jun 5, 2024 · 1 comment

Comments

@PouriaAzadehR
Copy link

Hi,

I follow up the installation instructions and test_train tutorial.
I used the pre-trained model and did not train a new one.

when running the following command

../bin/basenji_test.py --ai 0,1,2 -o output/heart_test --rc --shifts "1,0,-1" models/params_small.json models/heart/model_best.h5 heart_l131k

I get error

Total params: 111,011 (433.64 KB)
Trainable params: 109,235 (426.70 KB)
Non-trainable params: 1,776 (6.94 KB)
None
Traceback (most recent call last):
File "/project/6014832/pouria81/basenji/tutorials/../bin/basenji_test.py", line 433, in
main()
File "/project/6014832/pouria81/basenji/tutorials/../bin/basenji_test.py", line 143, in main
seqnn_model = seqnn.SeqNN(params_model)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/project/6014832/pouria81/basenji/basenji/seqnn.py", line 35, in init
self.build_model()
File "/project/6014832/pouria81/basenji/basenji/seqnn.py", line 190, in build_model
stride_factor = layer.input_shape[1] / layer.output_shape[1]

@davek44
Copy link
Contributor

davek44 commented Jun 21, 2024

We're not maintaining this repository anymore. Please move to https://github.com/calico/baskerville

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

2 participants