Closed Juthorian closed 10 months ago
This was fixed internally, I imported the latest changes in.
Unfortunately, running tf_cnn_benchmarks.py is still failing with the error: ModuleNotFoundError: No module named 'tf_keras'
. I'll try to see if there is an easy fix, but if not, I don't think this will get fixed. tf_cnn_benchmarks is deprecated and unmaintained, as the README states. I recommend using another implementation of CNN models instead, like the TensorFlow Official Models
I fixed the error so tf_cnn_benchmarks works with the latest tf-nightly now
VariableV1 seems to have been moved to /tensorflow/python/ops/variable_v1.py.
In benchmarks/scripts/tf_cnn_benchmarks/models/model.py there is an import for variables to access VariableV1 but this will not exist and will cause an error. Need to change import to use variable_v1 instead.