We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc7b165 commit 096dd19Copy full SHA for 096dd19
1 file changed
packages/cheese3d/cheese3d/backends/dlc.py
@@ -1,4 +1,3 @@
1
-from IPython.utils.tests.test_wildcard import root
2
import os
3
import shutil
4
import yaml
@@ -99,15 +98,15 @@ def create(self):
99
98
dlc.create_new_project(
100
project=self.name,
101
experimenter=self.experimenter,
102
- working_directory=self.root_dir.absolute(),
+ working_directory=str(self.root_dir.absolute()),
103
videos=self.videos,
104
copy_videos=False
105
)
106
107
def overwrite_config(self):
108
# load dlc config file
109
dlc_config = OmegaConf.load(self.config_path)
110
- dlc_config.project_path = self.project_path.absolute()
+ dlc_config.project_path = str(self.project_path.absolute())
111
# overwrite videos
112
videos = {}
113
for (video, crop) in zip(self.videos, self.crops):
0 commit comments