Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,16 +1,10 @@
|
|
1 |
|
2 |
#before running this please change the RUNTIME to GPU (Runtime -> Change runtime type -> set harware accelarotor as GPU)
|
3 |
#Mount our google drive
|
4 |
-
|
5 |
-
drive.mount('/content/drive')
|
6 |
|
7 |
#Note : only needed when you have to download the processed data to the environment
|
8 |
#download and unzip the data from google drive Colab environment
|
9 |
-
from google_drive_downloader import GoogleDriveDownloader as gdd
|
10 |
-
#use only file id of the link
|
11 |
-
#Note: Below link is just an example, Not an actual link. Actual Links are in ReadMe file
|
12 |
-
#https://drive.google.com/file/d/1ubvKLzBDe5i1acxgGUK6ObeNBYCKUS07/view?usp=sharing
|
13 |
-
|
14 |
|
15 |
|
16 |
|
@@ -212,7 +206,8 @@ val_labels
|
|
212 |
# for item in range(0,1):
|
213 |
print(train_data[1][1])
|
214 |
val_data[1][1]
|
215 |
-
valid_label['
|
|
|
216 |
from torch import nn
|
217 |
import timm
|
218 |
class Model1(nn.Module):
|
|
|
1 |
|
2 |
#before running this please change the RUNTIME to GPU (Runtime -> Change runtime type -> set harware accelarotor as GPU)
|
3 |
#Mount our google drive
|
4 |
+
|
|
|
5 |
|
6 |
#Note : only needed when you have to download the processed data to the environment
|
7 |
#download and unzip the data from google drive Colab environment
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
|
10 |
|
|
|
206 |
# for item in range(0,1):
|
207 |
print(train_data[1][1])
|
208 |
val_data[1][1]
|
209 |
+
valid_label['label']
|
210 |
+
|
211 |
from torch import nn
|
212 |
import timm
|
213 |
class Model1(nn.Module):
|