bug fix
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ def predict_and_analyze(model_name, num_channels, dim, image):
|
|
137 |
# im = f.readlines()
|
138 |
# image = np.frombuffer(image)
|
139 |
|
140 |
-
image = np.
|
141 |
|
142 |
image = image.reshape((num_channels, W, W))
|
143 |
|
|
|
137 |
# im = f.readlines()
|
138 |
# image = np.frombuffer(image)
|
139 |
|
140 |
+
image = np.load(image, allow_pickle=True)
|
141 |
|
142 |
image = image.reshape((num_channels, W, W))
|
143 |
|