tensorflow / benchmarks

A benchmark framework for Tensorflow
Apache License 2.0
1.14k stars 630 forks source link

Failure when running models with tf_cnn_benchmarks (threadpool in preprocessing.py) #512

Closed jojivk73 closed 3 years ago

jojivk73 commented 3 years ago

TF repo removed few deprecated functionality including threadpool.py.

https://github.com/tensorflow/tensorflow/commit/1f324d0afd8aa050f2022ad31e23a043265cbc06#diff-65f53b48ea4fcebd1a72924350d77a12d0df80636f659f9b57dfe877c29c8562

This results in failure of its use in

https://github.com/tensorflow/benchmarks/blob/804de018dc8d66c54f20b1b2f4931016dede313a/scripts/tf_cnn_benchmarks/preprocessing.py#L29 https://github.com/tensorflow/benchmarks/blob/804de018dc8d66c54f20b1b2f4931016dede313a/scripts/tf_cnn_benchmarks/preprocessing.py#L701

Can this dependency be fixed in preprocessing.py

reedwm commented 3 years ago

Thanks for filing this. The issue should be fixed now.