1

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?

2 Answers2

1

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.

pratap
  • 538
  • 1
  • 5
  • 11
0

Thank you, I got the answer I just did

cd /content/drive/Mypath