Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

AssertionError #111

Open
HCideal opened this issue Dec 22, 2019 · 1 comment
Open

AssertionError #111

HCideal opened this issue Dec 22, 2019 · 1 comment

Comments

@HCideal
Copy link

HCideal commented Dec 22, 2019

python3 -u main.py --epochs 50 --nlayers 3 --emsize 400 --nhid 1840 --alpha 0 --beta 0 --dropoute 0 --dropouth 0.1 --dropouti 0.1 --dropout 0.4 --wdrop 0.2 --wdecay 1.2e-6 --bptt 200 --batch_size 128 --optimizer adam --lr 1e-3 --data data/enwik8 --save ENWIK8.pt --when 25 35
Producing dataset...
Traceback (most recent call last):
File "main.py", line 100, in
corpus = data.Corpus(args.data)
File "/home/swee/Desktop/awd-lstm-lm-master/data.py", line 30, in init
self.train = self.tokenize(os.path.join(path, 'train.txt'))
File "/home/swee/Desktop/awd-lstm-lm-master/data.py", line 36, in tokenize
assert os.path.exists(path)
AssertionError

@jabraunlin
Copy link

You need to execute the getdata.sh file:
chmod 755 getdata.sh
./getdata.sh

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants