mwmathis commited on
Commit
ea67981
Β·
1 Parent(s): 91ae7b8

Update dlc_utils.py

Browse files
Files changed (1) hide show
  1. dlc_utils.py +18 -1
dlc_utils.py CHANGED
@@ -29,4 +29,21 @@ def predict_dlc(list_np_crops,
29
  list_kpts_per_crop.append(keypts_xyp)
30
  all_kypts.append(keypts_xyp)
31
 
32
- return list_kpts_per_crop
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  list_kpts_per_crop.append(keypts_xyp)
30
  all_kypts.append(keypts_xyp)
31
 
32
+ return list_kpts_per_crop
33
+
34
+ # WIP error
35
+ '''
36
+ File "/home/user/app/dlc_utils.py", line 15, in predict_dlc
37
+ dlc_live = DLCLive(DLCmodel, processor=dlc_proc)
38
+ File "/home/user/.local/lib/python3.8/site-packages/dlclive/dlclive.py", line 155, in __init__
39
+ self.read_config()
40
+ File "/home/user/.local/lib/python3.8/site-packages/dlclive/dlclive.py", line 166, in read_config
41
+ cfg_path = Path(self.path).resolve() / "pose_cfg.yaml"
42
+ File "/usr/local/lib/python3.8/pathlib.py", line 1041, in __new__
43
+ self = cls._from_parts(args, init=False)
44
+ File "/usr/local/lib/python3.8/pathlib.py", line 682, in _from_parts
45
+ drv, root, parts = self._parse_args(args)
46
+ File "/usr/local/lib/python3.8/pathlib.py", line 666, in _parse_args
47
+ a = os.fspath(a)
48
+ TypeError: expected str, bytes or os.PathLike object, not NoneType
49
+ '''