Failed to build download_and_convert_imagenet with Bazel
Error log
$ bazel build :download_and_convert_imagenet
ERROR: /root/projects/models/research/slim/BUILD:697:1: //:train_image_classifier: no such attribute 'paropts' in 'py_binary' rule
ERROR: /root/projects/models/research/slim/BUILD:721:1: //:export_inference_graph: no such attribute 'paropts' in 'py_binary' rule
ERROR: error loading package '': Package '' contains errors
INFO: Elapsed time: 0.337s
FAILED: Build did NOT complete successfully (0 packages loaded)
Bazel version
$ bazel version
Build label: 0.11.1
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue May 14 07:48:23 +50148 (1520362424903)
Build timestamp: 1520362424903
Build timestamp as int: 1520362424903
Build successfully after commented out the un-supported paropts line in BUILD
Hi
I get an same error, How to fix it? Can you describe the details of the solution?
I've fix it . I commented tow lines of code including "paropts"
Yes, comment it out the lines with 'parapets' in BUILD file. It fixed my problem.
Most helpful comment
Build successfully after commented out the un-supported
paroptsline in BUILD