Open moriyas1984 opened 6 years ago
Hi, I'm having exactly the same problem. Any solutions please?
嗨,我也遇到了 相同的问题,请问有解决吗
I believe python smallNORB.py tfrecord
to generate tfrecord files (tensorflow multi-thread I/O files) from raw data.
I believe
python smallNORB.py tfrecord
to generate tfrecord files (tensorflow multi-thread I/O files) from raw data.
Thank you very much for your reply. But after I ran your code “python3 smallNORB.py tfrecord” , there were new errors.
CRITICAL root: Traceback (most recent call last):
File "smallNORB.py", line 210, in
@zhaolei0413 Try to allocate as much memory to the VM as possible, 6G might not be enough since it still shows "MemoryError".
我相信
python smallNORB.py tfrecord
从原始数据生成tfrecord文件(tensorflow多线程I / O文件)。当我尝试这个时,我收到以下错误:
FileNotFoundError: [Errno 2] No such file or directory: './smallNORB/smallnorb-5 x46789x9x18x6x2x96x96-training-dat.mat'
You downloaded less smallNORB files. You can download them from my link and extract them into the data directory. 链接: https://pan.baidu.com/s/1_AmFIG8hagZMgevvK8wPmQ 提取码: rcd1
I run
./download.sh
under ./data and then the directorysmallNORB
and 4 filessmallnorb-xxxx-{testing|training}-{cat|dat}.mat
got available. But when I tried to train the network with the smallNORB dataset by sending the commandpython train.py "smallNORB"
, errors as follows returned.Did I miss anything to do before training with smallNORB? I think the 4 files downloaded should be converted tfrecord files.
I'm a begginer of tensorflow so what I said maybe beside the point...
Thanks.