Spaces:
Runtime error
Runtime error
nisharg nargund
commited on
Commit
·
919b70d
1
Parent(s):
7d7702e
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ data = np.array(data)
|
|
76 |
data.shape
|
77 |
|
78 |
result = np.array(result)
|
79 |
-
result = result.reshape(
|
80 |
|
81 |
from sklearn.model_selection import train_test_split
|
82 |
x_train,x_test,y_train,y_test = train_test_split(data, result, test_size=0.1, shuffle=True, random_state=0)
|
|
|
76 |
data.shape
|
77 |
|
78 |
result = np.array(result)
|
79 |
+
result = result.reshape(-1,128,128,3)
|
80 |
|
81 |
from sklearn.model_selection import train_test_split
|
82 |
x_train,x_test,y_train,y_test = train_test_split(data, result, test_size=0.1, shuffle=True, random_state=0)
|