Reputation: 11
Need to call data folder but how to do it in colab. I tried it on spyder but not able to do in colab, already mounted google drive.
import torch
import cv2
from data import BaseTransform, VOC_CLASSES as labelmap
from ssd import build_ssd
import imageio
Image of google drive in collab
It will be better if I able to interect with whole Windows 1 folder?
Upvotes: 1
Views: 2263
Reputation: 11
Thank you, I got the answer I just did
cd /content/drive/Mypath
Upvotes: 0
Reputation: 628
You can connect to google colab using
from google.colab import drive
import os
drive.mount('/content/drive')
To call you can copy the path. You can get the path of the folder by right click --> copy path. You can use that path for reading/writing the files in that folder.
Upvotes: 2