Closed c100rczyk closed 4 months ago
How i connected with Kaggle:
Open Kaggle Notebook
Name opened notebook
File -> Link to GitHub
Type in new code cell: !git clone https://repozytorium
Kaggle settings / create new API
Put loaded file.json to : Notebook / Input / Upload / (our file.json)
Run this code cell in Notebook:
(it creating new directory, in Kaggle)
import os import shutil os.makedirs('/root/.kaggle', exist_ok = True)
shutil.copy('/kaggle/input/kagglejson/kaggle.json', '/root/.kaggle/kaggle.json')
os.chmod('/root/.kaggle/kaggle.json', 0o600)
add this befor importing everything:
import sys sys.path.append('/kaggle/working/Team_project_PWR')
Next download prepared dataset. Create dataset.zip and put this to Inputs/Upload/Dataset on Kaggle in our notebook
Then change paths to every file add kaggle/input/prepareddata/...
To install what you need : install like in your terminal yust put in kaggle notebook code cell for example: !pip install livelossplot
How to succesfully use Kaggle Tesla GPU, to train models. Transfer code to Kaggle.