xinjie.wang commited on
Commit
449a72e
·
1 Parent(s): 4e0dd4f
Files changed (1) hide show
  1. common.py +3 -3
common.py CHANGED
@@ -44,9 +44,9 @@ from asset3d_gen.validators.quality_checkers import (
44
  )
45
  from asset3d_gen.validators.urdf_convertor import URDFGenerator, zip_files
46
 
47
- # current_file_path = os.path.abspath(__file__)
48
- # current_dir = os.path.dirname(current_file_path)
49
- # sys.path.append(os.path.join(current_dir, "../.."))
50
  from thirdparty.TRELLIS.trellis.pipelines import TrellisImageTo3DPipeline
51
  from thirdparty.TRELLIS.trellis.renderers.mesh_renderer import MeshRenderer
52
  from thirdparty.TRELLIS.trellis.representations import (
 
44
  )
45
  from asset3d_gen.validators.urdf_convertor import URDFGenerator, zip_files
46
 
47
+ current_file_path = os.path.abspath(__file__)
48
+ current_dir = os.path.dirname(current_file_path)
49
+ sys.path.append(os.path.join(current_dir, ""))
50
  from thirdparty.TRELLIS.trellis.pipelines import TrellisImageTo3DPipeline
51
  from thirdparty.TRELLIS.trellis.renderers.mesh_renderer import MeshRenderer
52
  from thirdparty.TRELLIS.trellis.representations import (