Skip to content

Issue with image zip file #106

Open
Open
@DavidRees87

Description

@DavidRees87

I've started having an issue with the zip file from the images folder. When I start training I get this message:

"/usr/lib/python3.10/zipfile.py in _update_crc(self, newdata)
943 # Check the CRC if we're at the end of the file
944 if self._eof and self._running_crc != self._expected_crc:
--> 945 raise BadZipFile("Bad CRC-32 for file %r" % self.name)
946
947 def read1(self, n):

BadZipFile: Bad CRC-32 for file '00000/img00000001.png'"

When creating the zip file this warning appears (although a zip file is created):

" 0%| | 0/17 [00:00<?, ?it/s]/content/projected_gan/dataset_tool.py:90: DeprecationWarning: Starting with ImageIO v3 the behavior of this function will switch to that of iio.v3.imread. To keep the current behavior (and make this warning disappear) use import imageio.v2 as imageio or call imageio.v2.imread directly.
img = imageio.imread(fname)
"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions