We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ce7c78 commit 7a25eb9Copy full SHA for 7a25eb9
dlclive/check_install/check_install.py
@@ -42,11 +42,10 @@ def main():
42
if not display:
43
print('Running without displaying video')
44
45
- # make temporary directory in $HOME
46
- # TODO: why create this temp directory in $HOME?
+ # make temporary directory in $current
47
print("\nCreating temporary directory...\n")
48
- tmp_dir = Path().home() / 'dlc-live-tmp'
49
- tmp_dir.mkdir(mode=0o775,exist_ok=True)
+ tmp_dir = Path.cwd() / 'dlc-live-tmp'
+ tmp_dir.mkdir(mode=0o775, exist_ok=True)
50
51
video_file = str(tmp_dir / 'dog_clip.avi')
52
model_dir = tmp_dir / 'DLC_Dog_resnet_50_iteration-0_shuffle-0'
0 commit comments