{"action":"created","issue":{"url":"https://api.github.com/repos/tensorpack/tensorpack/issues/810","repository_url":"https://api.github.com/repos/tensorpack/tensorpack","labels_url":"https://api.github.com/repos/tensorpack/tensorpack/issues/810/labels{/name}","comments_url":"https://api.github.com/repos/tensorpack/tensorpack/issues/810/comments","events_url":"https://api.github.com/repos/tensorpack/tensorpack/issues/810/events","html_url":"https://github.com/tensorpack/tensorpack/issues/810","id":337769156,"node_id":"MDU6SXNzdWUzMzc3NjkxNTY=","number":810,"title":"error running alexnet_dorefa.py","user":{"login":"brisker","id":13804492,"node_id":"MDQ6VXNlcjEzODA0NDky","avatar_url":"https://avatars3.githubusercontent.com/u/13804492?v=4","gravatar_id":"","url":"https://api.github.com/users/brisker","html_url":"https://github.com/brisker","followers_url":"https://api.github.com/users/brisker/followers","following_url":"https://api.github.com/users/brisker/following{/other_user}","gists_url":"https://api.github.com/users/brisker/gists{/gist_id}","starred_url":"https://api.github.com/users/brisker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brisker/subscriptions","organizations_url":"https://api.github.com/users/brisker/orgs","repos_url":"https://api.github.com/users/brisker/repos","events_url":"https://api.github.com/users/brisker/events{/privacy}","received_events_url":"https://api.github.com/users/brisker/received_events","type":"User","site_admin":false},"labels":[{"id":676134026,"node_id":"MDU6TGFiZWw2NzYxMzQwMjY=","url":"https://api.github.com/repos/tensorpack/tensorpack/labels/examples","name":"examples","color":"e99695","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2018-07-03T07:02:17Z","updated_at":"2018-07-04T16:33:31Z","closed_at":null,"author_association":"NONE","body":"environment:\r\ntensorflow1.13.0(in docker) cuda8.0 cudnn6 anaconda2\r\n\r\nerror running alexnet_dorefa.py.\r\nit is weird that in the /root/tensorpack_data, there is a caffe_ilsvrc12.tar.gz file but it is only 4kb in size, which should be in 17MB in size. These are a little confusing to me. Any help is appreciated! \r\n@ppwwyyxx \r\nthe error looks like this:\r\n```\r\nroot@997991b14e71:/data/home/users/ccc/projects/tensorpack/examples/DoReFa-Net# ./alexnet-dorefa.py --dorefa 1,2,6 --data /data/data/ImageNetOrigin --gpu 4,5,6,7\r\n/root/anaconda2/lib/python2.7/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.\r\n  from ._conv import register_converters as _register_converters\r\n[0703 06:54:57 @logger.py:109] WRN Log directory train_log/alexnet-dorefa-1,2,6 exists! Use 'd' to delete it. \r\n[0703 06:54:57 @logger.py:112] WRN If you're resuming from a previous run, you can choose to keep it.\r\nPress any other key to exit. \r\nSelect Action: k (keep) / d (delete) / q (quit):d\r\n[0703 06:54:58 @logger.py:74] Argv: ./alexnet-dorefa.py --dorefa 1,2,6 --data /data/data/ImageNetOrigin --gpu 4,5,6,7\r\n[0703 06:54:58 @alexnet-dorefa.py:222] Batch per tower: 64\r\n[0703 06:54:58 @fs.py:88] WRN Env var $TENSORPACK_DATASET not set, using /root/tensorpack_data for datasets.\r\ncaffe_ilsvrc12.tar.gz: 8.19kB [00:00, 26.0kB/s]\r\nSuccesfully downloaded caffe_ilsvrc12.tar.gz. 2942 bytes.\r\nTraceback (most recent call last):\r\n  File \"./alexnet-dorefa.py\", line 224, in <module>\r\n    config = get_config()\r\n  File \"./alexnet-dorefa.py\", line 147, in get_config\r\n    data_train = get_data('train')\r\n  File \"./alexnet-dorefa.py\", line 143, in get_data\r\n    args.data, dataset_name, BATCH_SIZE, augmentors)\r\n  File \"/data/home/users/ccc/projects/tensorpack/examples/DoReFa-Net/imagenet_utils.py\", line 101, in get_imagenet_dataflow\r\n    ds = dataset.ILSVRC12(datadir, name, shuffle=True)\r\n  File \"/root/anaconda2/lib/python2.7/site-packages/tensorpack/dataflow/dataset/ilsvrc.py\", line 247, in __init__\r\n    dir, name, meta_dir, shuffle, dir_structure)\r\n  File \"/root/anaconda2/lib/python2.7/site-packages/tensorpack/dataflow/dataset/ilsvrc.py\", line 158, in __init__\r\n    meta = ILSVRCMeta(meta_dir)\r\n  File \"/root/anaconda2/lib/python2.7/site-packages/tensorpack/dataflow/dataset/ilsvrc.py\", line 32, in __init__\r\n    self._download_caffe_meta()\r\n  File \"/root/anaconda2/lib/python2.7/site-packages/tensorpack/dataflow/dataset/ilsvrc.py\", line 57, in _download_caffe_meta\r\n    tarfile.open(fpath, 'r:gz').extractall(self.dir)\r\n  File \"/root/anaconda2/lib/python2.7/tarfile.py\", line 1693, in open\r\n    return func(name, filemode, fileobj, **kwargs)\r\n  File \"/root/anaconda2/lib/python2.7/tarfile.py\", line 1751, in gzopen\r\n    raise ReadError(\"not a gzip file\")\r\ntarfile.ReadError: not a gzip file\r\n```"},"comment":{"url":"https://api.github.com/repos/tensorpack/tensorpack/issues/comments/402522952","html_url":"https://github.com/tensorpack/tensorpack/issues/810#issuecomment-402522952","issue_url":"https://api.github.com/repos/tensorpack/tensorpack/issues/810","id":402522952,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjUyMjk1Mg==","user":{"login":"ppwwyyxx","id":1381301,"node_id":"MDQ6VXNlcjEzODEzMDE=","avatar_url":"https://avatars3.githubusercontent.com/u/1381301?v=4","gravatar_id":"","url":"https://api.github.com/users/ppwwyyxx","html_url":"https://github.com/ppwwyyxx","followers_url":"https://api.github.com/users/ppwwyyxx/followers","following_url":"https://api.github.com/users/ppwwyyxx/following{/other_user}","gists_url":"https://api.github.com/users/ppwwyyxx/gists{/gist_id}","starred_url":"https://api.github.com/users/ppwwyyxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppwwyyxx/subscriptions","organizations_url":"https://api.github.com/users/ppwwyyxx/orgs","repos_url":"https://api.github.com/users/ppwwyyxx/repos","events_url":"https://api.github.com/users/ppwwyyxx/events{/privacy}","received_events_url":"https://api.github.com/users/ppwwyyxx/received_events","type":"User","site_admin":false},"created_at":"2018-07-04T16:33:31Z","updated_at":"2018-07-04T16:33:31Z","author_association":"COLLABORATOR","body":"See the class ImageNetModel"}}
{"actor":{"display_login":"ppwwyyxx"}}