Closed avr248 closed 7 years ago
Can you give some more details about where you are seeing this and how to reproduce?
python3 scripts/run_model.py params/sentence_selection/siamese_sentence_selector_squad.json
2017-05-01 15:16:37,981 - PARAM - deep_qa.common.params - seq2seq_encoder.default.encoder_params.type = bi_gru
2017-05-01 15:16:37,982 - PARAM - deep_qa.common.params - seq2seq_encoder.default.encoder_params.l2_regularization = None
2017-05-01 15:16:37,982 - PARAM - deep_qa.common.params - seq2seq_encoder.default.encoder_params.l1_regularization = None
Traceback (most recent call last):
File "scripts/run_model.py", line 66, in
Thanks. looks like this is broken on the current master too, and i think the culprit is the recent release of Keras 2.0.4.
Can you try downgrading to Keras 2.0.3 (pip uninstall keras && pip install keras==2.0.3
)? That should work while we push a fix in the meantime / update the requirements to pin to keras 2.0.3
Thank you very much. Great.
Another question: How do I handle a babi task dataset?
So, right now certain models support certain datasets. For example, you can use the SoftMaxMemoryNetwork
model to do a babi-style task (see https://github.com/allenai/deep_qa/blob/master/example_experiments/memory_networks/babi_experiment.json, this experiment config might be out of date).
@matt-gardner or @DeNeutoy are probably more familiar with the memory network code and might be able to comment more about this, but can you be a bit more specific with your question? Are you looking to simply solve tasks from bAbI?
in need py script for preprocessed data
Thanks, @nelson-liu, for helping with this. This issue makes me wonder if we should have some kind of checklist for issues, like keras and many other repos do... We really don't have the bandwidth to respond to issues that aren't stated clearly, now that it's just me and Mark.
@avr248, see here for info on processing the data.
Yes, an issue template sounds like a good idea
AttributeError: 'list' object has no attribute 'shape' Exception ignored in: <bound method BaseSession.del of <tensorflow.python.client.session.Session object at 0x1211e8c18>> Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 582, in del AttributeError: 'NoneType' object has no attribute 'TF_DeleteStatus'