tensorflow / tensorflow/models
model_main.py contains tf.contrib
@pkulzc is already working on this.
Since May 22, 2020.
- Dominant language
- Python
- Stars
- 77.7k
- Forks
- 44.8k
- PR merge metrics
- No merged PRs in 30d
Description
Hi all,
I am trying out the model_main.py in object detection. When I try with the script. It shows
Traceback (most recent call last):
File "model_main.py", line 26, in
from object_detection import model_lib
File "/home/herru/anaconda3/lib/python3.7/site-packages/object_detection-0.1-py3.7.egg/object_detection/model_lib.py", line 27, in
from object_detection import eval_util
File "/home/herru/anaconda3/lib/python3.7/site-packages/object_detection-0.1-py3.7.egg/object_detection/eval_util.py", line 40, in
slim = tf.contrib.slim
AttributeError: module 'tensorflow' has no attribute 'contrib'
It seems like tensorflow 2.1 has removed contrib. yet in eval_util line 40 and 327 still contains contrib. I suspect it might be a bug? Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.