WildlifeDatasets / wildlife-datasets

WildlifeDatasets: An open-source toolkit for animal re-identification
https://wildlifedatasets.github.io/wildlife-datasets/
MIT License
69 stars 6 forks source link

Add to documentation how to add Kaggle json #1

Closed VojtechCermak closed 8 months ago

VojtechCermak commented 1 year ago

import json !touch ~/.kaggle/kaggle.json api_token = {“username”:“XXXXX”,“key”:“XXXXXX”} with open(‘/root/.kaggle/kaggle.json’, ‘w’) as file: json.dump(api_token, file) !chmod 600 ~/.kaggle/kaggle.json

sadda commented 8 months ago

There is a description in the documentation with a link to the description at Kaggle.