When running "bpnet contrib", there is a Type error:
DeepExplain: running "deeplift" explanation method (5)
Model with multiple inputs: True
DeepExplain: running "deeplift" explanation method (5)
Model with multiple inputs: True
DeepExplain: running "deeplift" explanation method (5)
Model with multiple inputs: True
DeepExplain: running "deeplift" explanation method (5)
Model with multiple inputs: True
0%| | 0/165.0 [00:07<?, ?it/s]
Traceback (most recent call last):
File "/data15/guang/anaconda3/bin/bpnet", line 33, in
sys.exit(load_entry_point('bpnet==0.0.23', 'console_scripts', 'bpnet')())
File "/data15/guang/anaconda3/lib/python3.7/site-packages/bpnet-0.0.23-py3.7.egg/bpnet/main.py", line 38, in main
argh.dispatch(parser)
File "/data15/guang/anaconda3/lib/python3.7/site-packages/argh/dispatching.py", line 174, in dispatch
for line in lines:
File "/data15/guang/anaconda3/lib/python3.7/site-packages/argh/dispatching.py", line 277, in _execute_command
for line in result:
File "/data15/guang/anaconda3/lib/python3.7/site-packages/argh/dispatching.py", line 260, in _call
result = function(*positional, **keywords)
File "/data15/guang/anaconda3/lib/python3.7/site-packages/bpnet-0.0.23-py3.7.egg/bpnet/cli/contrib.py", line 241, in bpnet_contrib
batch_size=None) # don't second-batch
File "/data15/guang/anaconda3/lib/python3.7/site-packages/bpnet-0.0.23-py3.7.egg/bpnet/seqmodel.py", line 244, in contrib_score
return fn(input_to_list(input_names, x))[0]
TypeError: 'list' object is not callable
It seems "fn" here is already a list. Could you please help with this? Any help would be much appreciated!
Hi,
When running "bpnet contrib", there is a Type error:
It seems "fn" here is already a list. Could you please help with this? Any help would be much appreciated!