-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello, thank you very much for sharing the code. I encountered some errors while using Docker to pull the code and run bash build_obf.sh. I would like to ask for your guidance on how to resolve this issue. Your help would be greatly appreciated!
Thank you again for your support!
ERROR: An error occurred during the fetch of repository 'tf_runtime':
Traceback (most recent call last):
File "/Code275/tensorflow-2.9.1/third_party/repo.bzl", line 64, column 33, in _tf_http_archive_impl
ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz, https://github.com/tensorflow/runtime/archive/093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz] to /root/.cache/bazel/_bazel_root/a5a5071651a6c349d639f25e016288e1/external/tf_runtime/temp5368221067054860666/093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz: connect timed out
ERROR: /Code275/tensorflow-2.9.1/WORKSPACE:11:14: fetching _tf_http_archive rule //external:tf_runtime: Traceback (most recent call last):
File "/Code275/tensorflow-2.9.1/third_party/repo.bzl", line 64, column 33, in _tf_http_archive_impl
ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz, https://github.com/tensorflow/runtime/archive/093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz] to /root/.cache/bazel/_bazel_root/a5a5071651a6c349d639f25e016288e1/external/tf_runtime/temp5368221067054860666/093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz: connect timed out
ERROR: no such package '@tf_runtime//': java.io.IOException: Error downloading [https://storage.googleapis.com/mirror.tensorflow.org/github.com/tensorflow/runtime/archive/093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz, https://github.com/tensorflow/runtime/archive/093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz] to /root/.cache/bazel/_bazel_root/a5a5071651a6c349d639f25e016288e1/external/tf_runtime/temp5368221067054860666/093ed77f7d50f75b376f40a71ea86e08cedb8b80.tar.gz: connect timed out
INFO: Elapsed time: 64.286s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
Fetching @llvm-raw; fetching 56s
Fetching ...vm-raw; Extracting /root/.cache/bazel/_bazel_root/a5a5071651a6c349d639f25e
016288e1/external/llvm-raw/temp17482780817171387685/1cb299165c859533e22f2ed05eb2abd5071544
df.tar.gz 6s
build.sh: line 3: ./bazel-bin/tensorflow/tools/pip_package/build_pip_package: No such file or directory
[1000, 224, 224, 3]
Data type of this model is float32
Estimated count of arithmetic ops: 0 ops, equivalently 0 MACs
Found existing installation: tensorflow 2.9.1
Uninstalling tensorflow-2.9.1:
Successfully uninstalled tensorflow-2.9.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
WARNING: Requirement '/tmp/tensorflow_pkg/tensorflow-2.9.1-cp38-cp38-linux_x86_64.whl' looks like a filename, but the file does not exist
Processing /tmp/tensorflow_pkg/tensorflow-2.9.1-cp38-cp38-linux_x86_64.whl
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/tmp/tensorflow_pkg/tensorflow-2.9.1-cp38-cp38-linux_x86_64.whl'
Traceback (most recent call last):
File "test_model.py", line 5, in
import tensorflow as tf
ModuleNotFoundError: No module named 'tensorflow'