Spaces:
Runtime error
Runtime error
resize map
Browse files- demo/demos.py +1 -1
demo/demos.py
CHANGED
@@ -3,7 +3,7 @@ import numpy as np
|
|
3 |
import psutil
|
4 |
|
5 |
def create_map():
|
6 |
-
return np.zeros(shape=(512,
|
7 |
|
8 |
def get_system_memory():
|
9 |
memory = psutil.virtual_memory()
|
|
|
3 |
import psutil
|
4 |
|
5 |
def create_map():
|
6 |
+
return np.zeros(shape=(512, 512), dtype=np.uint8)+255
|
7 |
|
8 |
def get_system_memory():
|
9 |
memory = psutil.virtual_memory()
|