flow - Cannot run imagenet download and preprocess script (suggestion in issue 202 did not work) -
i following instruction here: https://github.com/tensorflow/models/tree/master/inception
after running bazel-bin/inception/imagenet_train --num_gpus=1 --batch_size=32 --train_dir=/tmp/imagenet_train --data_dir=/tmp/imagenet_data
i following error:
bazel-bin/inception/download_and_preprocess_imagenet.runfiles/inception/inception/data/download_imagenet.sh: line 105: bazel-bin/inception/download_and_preprocess_imagenet.runfiles/inception/inception/data/imagenet_lsvrc_2015_synsets.txt: no such file or directory"
i saw post on in 202 suggestion "add main before /inception" in work_dir did not solve problem. below output of ls -l -r bazel-bin/inception/download_and_preprocess_imagenet.runfiles/
:
bazel-bin/inception/download_and_preprocess_imagenet.runfiles/: total 8 drwxr-xr-x 3 parsa parsa 4096 jun 30 14:34 inception -r-xr-xr-x 1 parsa parsa 1737 jun 30 14:34 manifest bazel-bin/inception/download_and_preprocess_imagenet.runfiles/inception: total 4 drwxr-xr-x 3 parsa parsa 4096 jun 30 14:34 inception bazel-bin/inception/download_and_preprocess_imagenet.runfiles/inception/inception: total 12 lrwxrwxrwx 1 parsa parsa 149 jun 30 14:34 build_imagenet_data -> /home/parsa/.cache/bazel/_bazel_parsa/cf59658e104287859f50b192c32a27cc/execroot/inception/bazel-out/local-fastbuild/bin/inception/build_imagenet_data drwxr-xr-x 2 parsa parsa 4096 jun 30 14:34 data lrwxrwxrwx 1 parsa parsa 162 jun 30 14:34 download_and_preprocess_imagenet -> /home/parsa/.cache/bazel/_bazel_parsa/cf59658e104287859f50b192c32a27cc/execroot/inception/bazel-out/local-fastbuild/bin/inception/download_and_preprocess_imagenet -r-xr-xr-x 1 parsa parsa 0 jun 30 14:34 init.py bazel-bin/inception/download_and_preprocess_imagenet.runfiles/inception/inception/data: total 32 lrwxrwxrwx 1 parsa parsa 94 jun 30 14:34 build_imagenet_data.py -> /home/parsa/documents/development/brain/models/inception/inception/data/build_imagenet_data.py lrwxrwxrwx 1 parsa parsa 107 jun 30 14:34 download_and_preprocess_imagenet.sh -> /home/parsa/documents/development/brain/models/inception/inception/data/download_and_preprocess_imagenet.sh lrwxrwxrwx 1 parsa parsa 92 jun 30 14:34 download_imagenet.sh -> /home/parsa/documents/development/brain/models/inception/inception/data/download_imagenet.sh lrwxrwxrwx 1 parsa parsa 114 jun 30 14:34 imagenet_2012_validation_synset_labels.txt -> /home/parsa/documents/development/brain/models/inception/inception/data/imagenet_2012_validation_synset_labels.txt lrwxrwxrwx 1 parsa parsa 103 jun 30 14:34 imagenet_lsvrc_2015_synsets.txt -> /home/parsa/documents/development/brain/models/inception/inception/data/imagenet_lsvrc_2015_synsets.txt lrwxrwxrwx 1 parsa parsa 93 jun 30 14:34 imagenet_metadata.txt -> /home/parsa/documents/development/brain/models/inception/inception/data/imagenet_metadata.txt -r-xr-xr-x 1 parsa parsa 0 jun 30 14:34 init.py lrwxrwxrwx 1 parsa parsa 110 jun 30 14:34 preprocess_imagenet_validation_data.py -> /home/parsa/documents/development/brain/models/inception/inception/data/preprocess_imagenet_validation_data.py lrwxrwxrwx 1 parsa parsa 97 jun 30 14:34 process_bounding_boxes.py -> /home/parsa/documents/development/brain/models/inception/inception/data/process_bounding_boxes.py
i solved problem replacing labels_file actual full file path in download_and_preprocess_imagenet.sh
Comments
Post a Comment