kernel dies when reading a data
2naff opened this issue · comments
device : Mac M1 Pro
I have practiced through colab so far, but I wanted to implement fastai locally after I recently encountered Pythorch's gpu support.
I succeeded in making blocks, but I found the kernel down when I loaded the dataset from the block.
|| code ||
pets = DataBlock(blocks = (ImageBlock, CategoryBlock),
get_items = get_image_files,
splitter = RandomSplitter(seed=42),
get_y = using_attr(RegexLabeller(r'(.+)_\d+.jpg$'), 'name'),
item_tfms = Resize(460),
batch_tfms=aug_transforms(size=244, min_scale=0.75))
no problems until here
dls = pets.dataloaders(path/'images') << when run this line, the kernel down
I also modified the memory capacity, but it didn't change.
fastai 2.7.9 pypi_0 pypi
fastbook 0.0.26 pypi_0 pypi
torch 1.13.0.dev20220807 pypi_0 pypi
torchaudio 0.14.0.dev20220603 pypi_0 pypi
torchvision 0.14.0.dev20220807 pypi_0 pypi
this is version what i installed using conda.
what can i do? or Is the support still unstable?