Added a note in the top post
Seems time limit was increased to 9 hours as per kaggle docs, didnāt test it yetā¦
I think this is a result of insufficient shared memory, you can work around it my setting num_workers=0
Hello,
i want to try out my own data set:
so i uploaded it as a .zip, and it shows in ā¦input directory
my question now is, how do i specify it as a path and if i need to do any unzipping for the images?
Edit:
i tried to:
path = Path(āā¦/input/ā)
path_img = Path(āā¦/input/celebs/celebs.zipā)
and when i run:
fnames = get_image_files(path_img)
fnames[:5]
i get an error: FileNotFoundError: [Errno 2] No such file or directory: 'ā¦/input/celebs/celebs.zipā
Hi,
I am in lesson 1 and when I try to download the pet data I get this error message.
gaierror Traceback (most recent call last)
/opt/conda/lib/python3.6/site-packages/urllib3/connection.py in _new_conn(self)
140 conn = connection.create_connection(
ā> 141 (self.host, self.port), self.timeout, **extra_kw)
142
/opt/conda/lib/python3.6/site-packages/urllib3/util/connection.py in create_connection(address, timeout, source_address, socket_options)
59
ā> 60 for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
Any ideas?
Solution: Although, I had enabled the internet connection, I needed to refresh my browser for it to work. All good now.
Hi @andresa,
Can you double check if the āinternet connectionā is enabled in the kernel?
Yes it is?
Hi Sanyam, after a refresh I have it working.
Thanks
Kindly edit your question and add the solution there as well, Thanks.
Hi Sanyam,
All done.
Iāve fixed the following kernels that had BusErrors and Iāve made some minor error fixes as well:
- Lesson 2 Download
- Lesson 4 Tabular
- Lesson 6 Pets-more
- Rossmann data clean
- Lesson 6 Rossmann
- Lesson 7 Resnet MNIST
I think these errors were due to a version difference. Please let me know if you spot any other issues.
Thanks to @Ajaxon6255 for sharing many fixes.
I am trying to run lesson 2 and the notebook keeps refreshing and losing all my work. How can I fix this?
Not sure why thatās happening.
Do you have a fixed speed connection? It might be an outage at kaggleās end.
does pressing commit save my work?
How do you save your work? My work is constantly lost by kaggle refreshing?
@andresa Gotcha! So by default youāll lose the data when you refresh, you need to commit to save the work.
Warning: For Lesson 2, since the number of images downloaded>500, the kernels will give an error because this is larger than kaggleās limit.
I am trying to train a model with
learn = create_cnn(data, models.resnet34, metrics=error_rate)
I get the following error:
OSError: [Errno 30] Read-only file system: '../input/wildkraut/wildkraut/models'
My kernel has an internet connection, I refreshed the site and my GPU is onā¦ I uploaded the dataset in a normal way and the dataBunch shows upā¦ Thankful for any help <3
You should pass the āmodel_dirā keyword arg to create_cnn. You can set it to tmp/models
Great - thanks @wdhorton that seemed to work. I guess model_dir = '/tmp/models'
tells the create_cnn that it should open up a new folder and save the created model inside? (Couldnāt find an explanation for the keyword arg neither in the docs, nor anywhere elseā¦)