yufu-wang / tram

TRAM: Global Trajectory and Motion of 3D Humans from in-the-wild Videos
MIT License
236 stars 16 forks source link

Droid.track() got an unexpected keyword argument 'mask' #12

Closed StawEndl closed 4 months ago

StawEndl commented 4 months ago

hi, i got a problem when running the the process ,"python scripts/slam_video.py --video "./example_video.mov"". there are the description of the error: """ Traceback (most recent call last): File "/home/ubuntu/mpz/tram-main/scripts/slam_video.py", line 56, in droid, traj = run_slam(img_folder, masks=masks, calib=calib) File "/home/ubuntu/mpz/tram-main/scripts/../lib/pipeline/masked_droid_slam.py", line 145, in run_slam droid.track(t, image, intrinsics=intrinsics, depth=depth, mask=conf_msk)
TypeError: Droid.track() got an unexpected keyword argument 'mask' """

the class Droid in the thirdparty/DROID-SLAM/droid_slam/droid.py have the fuction, track(self, tstamp, image, depth=None, intrinsics=None), which have no mask to accepted.

is there are something wrong when i clone the code? am i download the wrong version code?

StawEndl commented 4 months ago

sorry, i got the wrong code.