Skip to content

vibhugupta1/C4MTS-Task2-Baseline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

C4MTS-Task2-Baseline

GET STARTED WITH THE GOOGLE COLAB LINK HERE : https://colab.research.google.com/github/vibhugupta1/C4MTS-Task2-Baseline/blob/main/C4MTS_TASK2.ipynb This is the baseline code for C4MTS Task2. => How to use the code or google colab notebook. Step1 : There is an option on top when you open the code, "OPEN IN COLAB". This opens the file in the google colab. Step2 : If you are unable to exercise step1 then the .ipynb file can be downloaded and uploaded on google drive. Then you can open the file in google colab. => The train data and the test data should be uploaded on the google drive.

  1. The command "from google.colab import drive" "drive.mount('/content/drive/')" connects the colab notebook to the google drive.
  2. The command "%mkdir /content/drive/MyDrive/myNewfolder" is used to make a new directory in the drive.
  3. The command "%cd /content/drive/MyDrive" is used to change the current working directory to the filled path.
  4. To submit the results in the reuqired format, the code is given on how to write and make files "n.png". => Some issues that will be faced using this google colab are:
  5. RuntimeError: CUDA out of memory. The following command can be used to solve the issue : import torch torch.cuda.empty_cache() or The runtime can be deleted and started again. Steps to clear delete and restart runtime:-
    1. Go to Runtime option
    2. Disconnect and delete runtime
    3. Restart Runtime
  6. Switch to GPU can be done as follows
    1. Go to Runtime option
    2. Change Runtime type
    3. Switch to GPU

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published