Closed scucszw closed 4 years ago
I have reached the fifth step,open maya and import maya/maya_skeleton.py I added python file in the maya script editor but nothing happened. This is where I made changes,Can someone tell me the correct way?
openpose_images = "/D:/project/30posebaseline/3d-pose-baseline/path/to/frames"
threed_pose_baseline = "/D:/project/30posebaseline/3d-pose-baseline/"
input_json_path = [os.path.join(threed_pose_baseline, "maya/{0}.json".format(_data)) for _data in ["3d_data.json", "2d_data.json"]]
I got it,you must call main method in maya.I hope this can help someone like me
import maya_skeleton reload(maya_skeleton) maya_skeleton.main()
import maya_skeleton
reload(maya_skeleton)
maya_skeleton.main()
I have reached the fifth step,open maya and import maya/maya_skeleton.py I added python file in the maya script editor but nothing happened. This is where I made changes,Can someone tell me the correct way?
openpose_images = "/D:/project/30posebaseline/3d-pose-baseline/path/to/frames"
threed_pose_baseline = "/D:/project/30posebaseline/3d-pose-baseline/"
input_json_path = [os.path.join(threed_pose_baseline, "maya/{0}.json".format(_data)) for _data in ["3d_data.json", "2d_data.json"]]