qubvel-org / segmentation_models.pytorch

Semantic segmentation models with 500+ pretrained convolutional and transformer-based backbones.
https://smp.readthedocs.io/
MIT License
9.52k stars 1.66k forks source link

AttributeError: module 'tensorflow' has no attribute 'gfile' #540

Closed hardway777 closed 2 years ago

hardway777 commented 2 years ago

https://github.com/qubvel/segmentation_models.pytorch/blob/master/examples/cars%20segmentation%20(camvid).ipynb

 12 
 13 model_dir = tempfile.mkdtemp()

---> 14 tf.gfile.MakeDirs(model_dir) 15 16 download_path = os.path.join(model_dir, _TARBALL_NAME)

AttributeError: module 'tensorflow' has no attribute 'gfile'

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] commented 2 years ago

This issue was closed because it has been stalled for 7 days with no activity.