see
see copied to clipboard
I got a question about the train_svhn.py
python train_svhn.py ../datasets/svhn/jsonfile/svhn_curriculum_specification.json ../datasets/svhn/runningLog/ -g 0 --char-map ../datasets/svhn/svhn_char_map.json -b 10
Traceback (most recent call last):
File "train_fsns.py", line 84, in
Well, you did not separate the digits in the first line by a tab (\t
). The csv
needs to be a tsv
.
Thank you very much. I'll try it now.
When changed to tsv, like this:
4 4
/home/donglong_5/SEE/see-master/datasets/svhn/gridDataset/train/0.png 0 9 10 10 2 0 10 10 0 6 10 10 0 8 10 10
/home/donglong_5/SEE/see-master/datasets/svhn/gridDataset/train/1.png 0 9 10 10 0 1 10 10 4 4 10 10 8 10 10 10
...
But, after trying again, there was still problem:
python train_svhn.py ../datasets/svhn/jsonfile/svhn_curriculum_specification.json ../datasets/svhn/runningLog/ -g 0 --char-map ../datasets/svhn/svhn_char_map.json --blank-label 0 -b 128
Traceback (most recent call last):
File "train_svhn.py", line 76, in
(Ps:This is the changed JOSN file { "train": "/home/donglong_5/SEE/see-master/datasets/svhn/gridDataset/train.tsv", "validation": "/home/donglong_5/SEE/see-master/datasets/svhn/gridDataset/valid.tsv" }
okay, did you also change the delimiter between all values in the tsv
file?
All items need to be delimited by a tab character.
thank (^▽^)
I want to reproduce the results with 95.2% accuracy obtained in the paper(SVHN), but I don't quite understand which dataset use as a training set and a validation set, how do you get your val set and whether you can reproduce the results of the original paper?