Spaces:
Sleeping
Sleeping
minor fix
Browse files- MyMarioAI.py +2 -2
MyMarioAI.py
CHANGED
|
@@ -15,7 +15,7 @@
|
|
| 15 |
#pip install imageio
|
| 16 |
|
| 17 |
from mad_mario import *
|
| 18 |
-
from IPython.display import clear_output
|
| 19 |
import imageio
|
| 20 |
|
| 21 |
|
|
@@ -83,7 +83,7 @@ def train(is_eval = False, episodes = 1000):
|
|
| 83 |
while True:
|
| 84 |
|
| 85 |
if is_eval:
|
| 86 |
-
clear_output(wait=True)
|
| 87 |
img = env.render()
|
| 88 |
plt.imshow( img )
|
| 89 |
plt.show()
|
|
|
|
| 15 |
#pip install imageio
|
| 16 |
|
| 17 |
from mad_mario import *
|
| 18 |
+
#from IPython.display import clear_output
|
| 19 |
import imageio
|
| 20 |
|
| 21 |
|
|
|
|
| 83 |
while True:
|
| 84 |
|
| 85 |
if is_eval:
|
| 86 |
+
#clear_output(wait=True)
|
| 87 |
img = env.render()
|
| 88 |
plt.imshow( img )
|
| 89 |
plt.show()
|