Commit
·
a0ad9dc
1
Parent(s):
6646d76
Fix inference
Browse files- inference.py +2 -2
inference.py
CHANGED
|
@@ -320,9 +320,9 @@ def main(
|
|
| 320 |
print(
|
| 321 |
f"\nTreating {len(data_files)} files as {len(data_files)} time steps from the same location\n"
|
| 322 |
)
|
| 323 |
-
if len(data_files) !=
|
| 324 |
print(
|
| 325 |
-
"The original model was trained for
|
| 326 |
)
|
| 327 |
|
| 328 |
if torch.cuda.is_available():
|
|
|
|
| 320 |
print(
|
| 321 |
f"\nTreating {len(data_files)} files as {len(data_files)} time steps from the same location\n"
|
| 322 |
)
|
| 323 |
+
if len(data_files) != 4:
|
| 324 |
print(
|
| 325 |
+
"The original model was trained for four time steps. \nResults with different numbers of time steps may vary"
|
| 326 |
)
|
| 327 |
|
| 328 |
if torch.cuda.is_available():
|