Skip to content

Commit 096dd19

Browse files
committed
another bug fix for dlc project path
1 parent dc7b165 commit 096dd19

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

  • packages/cheese3d/cheese3d/backends

packages/cheese3d/cheese3d/backends/dlc.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from IPython.utils.tests.test_wildcard import root
21
import os
32
import shutil
43
import yaml
@@ -99,15 +98,15 @@ def create(self):
9998
dlc.create_new_project(
10099
project=self.name,
101100
experimenter=self.experimenter,
102-
working_directory=self.root_dir.absolute(),
101+
working_directory=str(self.root_dir.absolute()),
103102
videos=self.videos,
104103
copy_videos=False
105104
)
106105

107106
def overwrite_config(self):
108107
# load dlc config file
109108
dlc_config = OmegaConf.load(self.config_path)
110-
dlc_config.project_path = self.project_path.absolute()
109+
dlc_config.project_path = str(self.project_path.absolute())
111110
# overwrite videos
112111
videos = {}
113112
for (video, crop) in zip(self.videos, self.crops):

0 commit comments

Comments
 (0)