Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: cannot reshape array of size 0 into shape
Post: RE: cannot reshape array of size 0 into shape

Thanks, I've added file.seek(16) and it seems OK.
Roro Data Science 2 6,196 Jun-14-2020, 11:28 AM
    Thread: cannot reshape array of size 0 into shape
Post: cannot reshape array of size 0 into shape

After a correction on the program i am using, i get an error on my code : import numpy as np import gzip import struct def load_images(filename): # Open and unzip the file of images : with g...
Roro Data Science 2 6,196 Jun-14-2020, 08:42 AM
    Thread: struct.unpack failed
Post: struct.unpack failed

Hello, I am biginning coding with python and I have 2 errors I could not solve alone : I have imported files (like MNIST\\train-images-idx3-ubyte.gz), and I try to unpack the file with the code : i...
Roro General Coding Help 2 3,289 Jun-13-2020, 04:24 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020