Spaces:
Runtime error
Runtime error
da03
commited on
Commit
·
c51c20d
1
Parent(s):
3699ce6
main.py
CHANGED
@@ -131,8 +131,8 @@ 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"
|
136 |
initial_images.append(np.array(img))
|
137 |
else:
|
138 |
#assert False
|
|
|
131 |
initial_images = []
|
132 |
if DEBUG_TEACHER_FORCING:
|
133 |
# Load the previous 7 frames for image_81
|
134 |
+
for i in range(117-7, 117): # Load images 74-80
|
135 |
+
img = Image.open(f"record_10003/image_{i}.png").resize((width, height))
|
136 |
initial_images.append(np.array(img))
|
137 |
else:
|
138 |
#assert False
|