使用谷歌colab实验室进行训练

发布时间 2023-09-03 22:14:10作者: 桜#AKB

首先需要登入Drive把数据集导入

然后使用

from google.colab import drive
drive.mount("/content/drive")
把包导入colab中
# !ls /content/drive/MyDrive/
# !unzip /content/drive/MyDrive/train_mask.csv.zip -d /content/drive/MyDrive
# !unzip /content/drive/MyDrive/test_a.zip -d /content/sample_data
# !unzip /content/drive/MyDrive/train.zip -d /content/sample_data
列出数据集以及解压
之后直接调用即可
 
每天有12小时的GPU免费使用