'Why am I getting Memory error getting in this code python?
X = np.array(X).reshape(-1, 80, 80, 3)
y = np.array(y)
-> X = X/255.0 memory error (I am getting memory error in this line)
Solution 1:[1]
I think what you really want to do is:
X = np.array(X).reshape(len(X), 80, 80, 3)
You should provide the 1st dimension.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Muhammad Ahsan |
