Spaces:
Sleeping
Sleeping
Annonymous
commited on
Commit
·
e4ad085
1
Parent(s):
da85b9a
Update ssl_models/dino.py
Browse files- ssl_models/dino.py +0 -2
ssl_models/dino.py
CHANGED
@@ -4,8 +4,6 @@ import torchvision
|
|
4 |
import torch.nn.functional as F
|
5 |
import numpy as np
|
6 |
import pathlib
|
7 |
-
temp = pathlib.PosixPath
|
8 |
-
pathlib.PosixPath = pathlib.WindowsPath
|
9 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
10 |
|
11 |
""" from https://github.com/facebookresearch/dino"""
|
|
|
4 |
import torch.nn.functional as F
|
5 |
import numpy as np
|
6 |
import pathlib
|
|
|
|
|
7 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
8 |
|
9 |
""" from https://github.com/facebookresearch/dino"""
|