-
Notifications
You must be signed in to change notification settings - Fork 45.4k
Description
I am trying to follow the tutorial for training the pet object detector on Object_detection official tutorial
I have followed all the steps and fired a training and evaluation job to Google cloud project, but I saw errors in the streaming logs saying:
"ImportError: No module named matplotlib.pyplot" around line 24 of "/root/.local/lib/python2.7/site-packages/object_detection/utils/visualization_utils.py"
I tried to modify the setup.py file under research folder to include matplotlib as a dependency, but it introduces another issue:
"in _import_module import(name) File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 42, in raise ImportError, str(msg) + ', please install the python-tk package' ImportError: No module named _tkinter, please install the python-tk package"
I noticed that python-tk is not a pip package and can only be installed via apt-get or installed from source in the cases of GCP(without root right).
I noticed that people have similar issues but the question on stackoverflow is not answered yet.
Is there anything missing here? Any help will be appreciated.