Skip to content

Commit

Permalink
convert to relative path import
Browse files Browse the repository at this point in the history
  • Loading branch information
lzc6996 committed Jul 31, 2021
1 parent 121f0de commit fe34611
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions sot_3d/tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
import os, numpy as np
from scipy.optimize import minimize
import matplotlib.pyplot as plt
from . import OptimData, FrameData, DataBuffer, LossFunc, MotionModel, ShapeMap, finder
from . import FrameData, OptimData
from .loss_func import LossFunc
from .motion_model import MotionModel
from .shape_map import ShapeMap
from .data_protos import BBox
from .data_buffer import DataBuffer
from .finder import Finder


class Tracker:
Expand Down Expand Up @@ -103,7 +108,7 @@ def pre_frame_optim(self, input_data: FrameData):

elif self.cur_frame == 1:
self.tmp_init_pc1 = input_data.pc
finder = finder.Finder(self.configs['finder'], self.tmp_init_box0, self.tmp_init_pc0, self.tmp_init_pc1)
finder = Finder(self.configs['finder'], self.tmp_init_box0, self.tmp_init_pc0, self.tmp_init_pc1)
pred_motion = finder.icp()
del self.tmp_init_pc0, self.tmp_init_pc1
else:
Expand Down

0 comments on commit fe34611

Please sign in to comment.