Comments (3)
Thank you for your interest. Can you tell me the exact error message? The pickled files are only used in order to speed up the data loading process. When you run the program for the first time, it should automatically create a new pickle file.
Such as via line
PoolingAnalysis/my_dataloader.py
Line 132 in 753633f
where we first check if a pickle file is available, and if not make a new one.
If you can tell me where the exact error occurred, I can help better debug this. Thanks
from poolinganalysis.
Thank you for your interest. Can you tell me the exact error message? The pickled files are only used in order to speed up the data loading process. When you run the program for the first time, it should automatically create a new pickle file.
Such as via linePoolingAnalysis/my_dataloader.py
Line 132 in 753633f
where we first check if a pickle file is available, and if not make a new one.
If you can tell me where the exact error occurred, I can help better debug this. Thanks
Thank you for your enthusiastic answer.
Is when I execute "Evaluate the Initial gradient distribution"
"Python train.py --pool att_max --data_size 20K --gpu_id 0 --mode train --batch_size 1 --task IMDB_LONG --wiki none --epochs 5 --gradients 1 --initial 1 --log 1- -customlstm 1"
Traceback (most recent call last):
File "D:/project/pool/train.py", line 47, in
TEXT, LABEL, train_iterator, valid_iterator, test_iterator = get_data(args, MAX_VOCAB_SIZE, device)
File "D:\project\pool\my_dataloader.py", line 137, in get_data
dump_pickle(args, TEXT, LABEL)
File "D:\project\pool\my_dataloader.py", line 116, in dump_pickle
fields={'s': ('text', TEXT), 'class': ('label', LABEL)})
File "C:\Users\WXL\anaconda3\envs\torch1.4\lib\site-packages\torchtext\data\dataset.py", line 78, in splits
os.path.join(path, train), **kwargs)
File "C:\Users\WXL\anaconda3\envs\torch1.4\lib\site-packages\torchtext\data\dataset.py", line 251, in init
with io.open(os.path.expanduser(path), encoding="utf8") as f:
FileNotFoundError: [Errno 2] No such file or directory: '../data/IMDB_LONG\train_m.json'"
will appear, how can I solve it?
from poolinganalysis.
Hi! I am sorry, I totally missed the notification. Can you check if "../data/IMDB_LONG" folder was automatically created? I think this may be a permission issue
from poolinganalysis.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poolinganalysis.