anatolix / keras_Realtime_Multi-Person_Pose_Estimation

Keras version of Realtime Multi-Person Pose Estimation project
Other
118 stars 47 forks source link

coco_eval missing? #2

Closed Minotaur-CN closed 6 years ago

Minotaur-CN commented 6 years ago

Dear anatolix,

some error found when runing train_pose.py. from coco_eval import CocoEval coco_eval is from the code COCO PythonAPI? but i can not find this, maybe you change some namespace.

This coco_eval did not found in the keras code of @michalfaber

PS: the CocoEval function in coco_eval.py in training dir?

Thanks for your reply!

Minotaur-CN commented 6 years ago

hmm, The error is


File "/home/xx/Tmp/py_keras_Openpose/training/coco_eval.py", line 1, in from keras.callbacks import Callback File "/home/xx/anaconda3/lib/python3.5/site-packages/keras/init.py", line 3, in from . import utils File "/home/xx/anaconda3/lib/python3.5/site-packages/keras/utils/init.py", line 6, in from . import conv_utils File "/home/xx/anaconda3/lib/python3.5/site-packages/keras/utils/conv_utils.py", line 3, in from .. import backend as K File "/home/xx/anaconda3/lib/python3.5/site-packages/keras/backend/init.py", line 83, in from .tensorflow_backend import File "/home/xx/anaconda3/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 1, in import tensorflow as tf File "/home/xx/anaconda3/lib/python3.5/site-packages/tensorflow/init.py", line 24, in from tensorflow.python import File "/home/xx/anaconda3/lib/python3.5/site-packages/tensorflow/python/init.py", line 52, in from tensorflow.core.framework.graph_pb2 import * File "/home/xx/anaconda3/lib/python3.5/site-packages/tensorflow/core/framework/graph_pb2.py", line 6, in from google.protobuf import descriptor as _descriptor


It seems the protobuf version error.

anatolix commented 6 years ago

It is just unfinished I made only empty callback yet.

coco_eval is not from CoCoAPI, may be bug because this two modules clashes in namespace. And I don't have this bug because CoCoAPI not installed in site_packages. Just comment this callback yet. It does nothing