Skip to content

Commit

Permalink
fixed estimator import in both ros nodes
Browse files Browse the repository at this point in the history
Prepended package name to estimator in order to resolve import failures.
  • Loading branch information
llach committed Jun 1, 2018
1 parent 07ba613 commit 9d2e370
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/broadcaster_ros.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
from sensor_msgs.msg import Image
from tfpose_ros.msg import Persons, Person, BodyPartElm

from estimator import TfPoseEstimator
from networks import model_wh, get_graph_path
from tf_pose.estimator import TfPoseEstimator
from tf_pose.networks import model_wh, get_graph_path


def humans_to_msg(humans):
Expand Down
2 changes: 1 addition & 1 deletion scripts/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from cv_bridge import CvBridge, CvBridgeError

from tfpose_ros.msg import Persons, Person, BodyPartElm
from estimator import Human, BodyPart, TfPoseEstimator
from tf_pose.estimator import Human, BodyPart, TfPoseEstimator


class VideoFrames:
Expand Down

0 comments on commit 9d2e370

Please sign in to comment.