andreamad8 / qdren Goto Github PK
View Code? Open in Web Editor NEWQuestion Dependent Recurrent Entity Network
License: MIT License
Question Dependent Recurrent Entity Network
License: MIT License
mldl@mldlUB1604:/ub16_prj/QDREN/CNN$ python3 run_final.py/ub16_prj/QDREN/CNN$
Traceback (most recent call last):
File "run_final.py", line 10, in
from src.utils.ulilz_CNN import Dataset
File "/home/mldl/ub16_prj/QDREN/CNN/src/utils/ulilz_CNN.py", line 2, in
import config
ImportError: No module named 'config'
mldl@mldlUB1604:
mldl@mldlUB1604:/ub16_prj/QDREN/CNN$/ub16_prj/QDREN/CNN$ PYTHONPATH=src python3 run_final.py
mldl@mldlUB1604:
Traceback (most recent call last):
File "run_final.py", line 11, in
from src.trainer.train import train
File "/home/mldl/ub16_prj/QDREN/CNN/src/trainer/train.py", line 18, in
from data.email_util import send_email
ImportError: No module named 'data.email_util'
mldl@mldlUB1604:~/ub16_prj/QDREN/CNN$
with open(ckpt_dir + "training_logs.pik", 'wb') as f: #yknote for python3 error must be str, not bytes
pickle.dump((train_loss, train_acc, val_loss, val_acc, test_loss, test_acc), f)
otherwise, it reports error 'must be str, not bytes'
mldl@mldlUB1604:/ub16_prj/QDREN/bAbI$ PYTHONPATH=src python3 run_final.py 15/ub16_prj/QDREN/bAbI$
/usr/local/lib/python3.5/dist-packages/sklearn/cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
"This module will be removed in 0.20.", DeprecationWarning)
/usr/local/lib/python3.5/dist-packages/sklearn/grid_search.py:43: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. This module will be removed in 0.20.
DeprecationWarning)
08-07 23:14 Longest sentence length: 6
08-07 23:14 Longest story length: 8
08-07 23:14 Average story length: 8
08-07 23:14 Training sample: 900
08-07 23:14 Validation sample: 100
08-07 23:14 Test sample: 1000
08-07 23:14 Vocab size : 18
08-07 23:14 Embeddings: 18 x 100
08-07 23:14 Loading embedding file: data/glove.6B.100d.txt
08-07 23:14 Pre-trained: 17 (94.44%)
08-07 23:14 Parameters: 49000
08-07 23:14 Initializing Variables!
08-07 23:14 Training stated
08-07 23:14 Epoch 0 Train Loss: 4.137 Train Accuracy: 0.206
08-07 23:14 Start plotting
Traceback (most recent call last):
File "run_final.py", line 88, in
main(task_num=sys.argv[1])
File "run_final.py", line 64, in main
t = train(epoch,params['bz'], data, par, dr=params['dr'], _test=True)
File "/home/mldl/ub16_prj/QDREN/bAbI/src/trainer/train.py", line 128, in train
val_loss[e], val_acc[e] = val_test(all_val,'Validation')
File "/home/mldl/ub16_prj/QDREN/bAbI/src/trainer/train.py", line 85, in val_test
viz(e)
File "/home/mldl/ub16_prj/QDREN/bAbI/src/trainer/train.py", line 59, in viz
for i in range(l):
TypeError: only integer scalar arrays can be converted to a scalar index
mldl@mldlUB1604:
mldl@mldlUB1604:~/ub16_prj/QDREN/bAbI$
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.