You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the step of starting training, about 5 minutes later, I get this termination error from the logs:
Termination reason: Error. Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/root/.local/lib/python2.7/site-packages/object_detection/train.py", line 51, in from object_detection.builders import model_builder File "/root/.local/lib/python2.7/site-packages/object_detection/builders/model_builder.py", line 29, in from object_detection.meta_architectures import ssd_meta_arch File "/root/.local/lib/python2.7/site-packages/object_detection/meta_architectures/ssd_meta_arch.py", line 32, in from object_detection.utils import visualization_utils File "/root/.local/lib/python2.7/site-packages/object_detection/utils/visualization_utils.py", line 25, in import matplotlib; matplotlib.use('Agg') # pylint: disable=multiple-statements ImportError: No module named matplotlib
After some Googling, it was suggested that I add a requirement for matplotlib to the required packages line of setup.py: REQUIRED_PACKAGES = ['Pillow>=1.0', 'matplotlib']
I'm wondering if this is an error in the library (which is up to date on the master branch), an error in the tutorial perhaps caused by an update to the library or Google Cloud, or something that I did wrong.
The text was updated successfully, but these errors were encountered:
@qlzh727 I followed those steps - which install matplotlib locally, along with a host of other libraries. The problem, I suppose, is that matplotlib is not installed on the Cloud instance. I just ran this again, to be sure.
I am running this from a clone of the TensorFlow Models repo, rather than the TensorFlow repo, but I assume that should work fine?
I'm following the "Distributed Training on the Oxford-IIIT Pets Dataset on Google Cloud" tutorial.
Following the step of starting training, about 5 minutes later, I get this termination error from the logs:
After some Googling, it was suggested that I add a requirement for matplotlib to the required packages line of setup.py:
REQUIRED_PACKAGES = ['Pillow>=1.0', 'matplotlib']
This worked, until I ran into a later error.
I'm wondering if this is an error in the library (which is up to date on the master branch), an error in the tutorial perhaps caused by an update to the library or Google Cloud, or something that I did wrong.
The text was updated successfully, but these errors were encountered: