Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
cff3fd9
1
Parent(s):
9c2b533
main.py
CHANGED
@@ -131,7 +131,7 @@ def load_initial_images(width, height):
|
|
131 |
initial_images = []
|
132 |
if DEBUG_TEACHER_FORCING:
|
133 |
# Load the previous 7 frames for image_81
|
134 |
-
for i in range(
|
135 |
img = Image.open(f"record_100/image_{i}.png").resize((width, height))
|
136 |
initial_images.append(np.array(img))
|
137 |
else:
|
|
|
131 |
initial_images = []
|
132 |
if DEBUG_TEACHER_FORCING:
|
133 |
# Load the previous 7 frames for image_81
|
134 |
+
for i in range(209-7, 209): # Load images 74-80
|
135 |
img = Image.open(f"record_100/image_{i}.png").resize((width, height))
|
136 |
initial_images.append(np.array(img))
|
137 |
else:
|