-
Notifications
You must be signed in to change notification settings - Fork 106
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
input and target size mismatch when running test.lua #46
Comments
It looks like the sequence lengths are mismatched. What steps did you use to generate the encode_roadmap.h5 file? I just ran the steps here https://github.com/davek44/Basset/blob/master/install_data.py, and it worked for me. |
Well the networks in China are isolated partly so the server can't reach dropbox, run install_data.py and download the data. So I have to download the data manually and may be the error occured. Are there some ways to get the data avoiding the dropbox? |
Can you access Google Cloud storage?
On Fri, May 17, 2019 at 7:32 PM ThuMYB ***@***.***> wrote:
Well the networks in China are isolated partly so the server can't reach
dropbox, run install_data.py and download the data. So I have to download
the data manually and may be the error occured. Are there some ways to get
the data avoiding the dropbox?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#46?email_source=notifications&email_token=AABKFEGICCXAGAHSYLZAI73PV5TEJA5CNFSM4HNPBCA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVWGAWY#issuecomment-493641819>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABKFEF2N56NYB7MJDCHTETPV5TEJANCNFSM4HNPBCAQ>
.
--
*David Roy Kelley, PhD*
Principal Investigator
Calico Life Sciences
|
Hi Dave!
Sorry to interrupt you. I wanted to run this impressive pipeline but was stuck in an error. I haven't tried to train a new network yet and all data were downloaded from your dropbox directly. But when I run basset_test.lua, it occured that:
[myb@localhost ~]$ cd ./Basset/src
[myb@localhost src]$ basset_test.lua ../data/models/pretrained_model.th ../data/encode_roadmap.h5 ../data
/home/myb/torch/install/bin/lua: /home/myb/torch/install/share/lua/5.2/nn/BCECriterion.lua:24: input and target size mismatch
stack traceback:
[C]: in function 'assert'
/home/myb/torch/install/share/lua/5.2/nn/BCECriterion.lua:24: in function </home/myb/torch/install/share/lua/5.2/nn/BCECriterion.lua:22>
(...tail calls...)
./convnet.lua:1156: in function 'test'
/home/myb/Basset/src/basset_test.lua:75: in main chunk
[C]: in function 'dofile'
.../myb/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: in ?
Would you mind telling me what may lead to it and what I should do? Thanks a lot
The text was updated successfully, but these errors were encountered: