You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And why do you use strings instread of a bitmask? My fix was:
for i in range(3, -1, -1):
val = len(FileList) # int(hexval, 16)
mask = 0xff << (i * 8)
erg = (val & mask) >> (i * 8)
print(str(erg))
header.append(erg)
But I am a novice to Tensorflow. Is it a must to use only 2 Byte for the number of files? If not, I would advice you to change that code!
The text was updated successfully, but these errors were encountered:
@Meresmata GREAT!!Thank you! My problem was settled just now!I also have no Mac. When I ran these codes on Linux for reading 10 files, I found that the sixth file wasn't read anyway. After reading your comment, I just deleted the [1:] which behind the for dirname in os.listdir(name[0])[1:]: (line 15). Now all of my files can be read.
Hi,
the line:
for dirname in os.listdir(name[0])[1:]: (line 15)
Is very problematic for any other OS than MacOS.
Here the first Class is excluded from the Project!!!!
I have done this instead:
Because I have no Mac.
Additionally the lines 45, 46 do not work for file number larger than the size of 2Byte!
And why do you use strings instread of a bitmask? My fix was:
But I am a novice to Tensorflow. Is it a must to use only 2 Byte for the number of files? If not, I would advice you to change that code!
The text was updated successfully, but these errors were encountered: