Spaces:
Running
Running
Add logs
Browse files- hyvideo/inference.py +11 -0
hyvideo/inference.py
CHANGED
@@ -306,6 +306,17 @@ class Inference(object):
|
|
306 |
f"specific weight file, please provide the full path to the file."
|
307 |
)
|
308 |
else:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
309 |
if dit_weight.is_dir():
|
310 |
files = list(dit_weight.glob("*.pt"))
|
311 |
if len(files) == 0:
|
|
|
306 |
f"specific weight file, please provide the full path to the file."
|
307 |
)
|
308 |
else:
|
309 |
+
print('What is dit_weight: ' + str(dit_weight))
|
310 |
+
print('dit_weight.exists(): ' + str(dit_weight.exists()))
|
311 |
+
print('dit_weight.is_file(): ' + str(dit_weight.is_file()))
|
312 |
+
print('dit_weight.is_dir(): ' + str(dit_weight.is_dir()
|
313 |
+
print('dit_weight.is_symlink(): ' + str(dit_weight.is_symlink()))
|
314 |
+
print('dit_weight.is_junction(): ' + str(dit_weight.is_junction()))
|
315 |
+
print('dit_weight.is_mount(): ' + str(dit_weight.is_mount()))
|
316 |
+
print('dit_weight.is_socket(): ' + str(dit_weight.is_socket()))
|
317 |
+
print('dit_weight.is_fifo(): ' + str(dit_weight.is_fifo()))
|
318 |
+
print('dit_weight.is_block_device(): ' + str(dit_weight.is_block_device()))
|
319 |
+
print('dit_weight.is_char_device(): ' + str(dit_weight.is_char_device()))
|
320 |
if dit_weight.is_dir():
|
321 |
files = list(dit_weight.glob("*.pt"))
|
322 |
if len(files) == 0:
|