Spaces:
Sleeping
Sleeping
mrneuralnet
commited on
Commit
•
e5bf0bd
1
Parent(s):
7576905
Modify preprocess
Browse files- deepfake_detection/main.py +1 -1
- sample_files/[DEEPFAKE] - Tom Cruise .mp4 +3 -0
- sample_files/{Better Call Trump_ Money Laundering 101 [DeepFake].mp4 → [DEEPFAKE] - Better Call Trump_ Money Laundering 101 [DeepFake].mp4} +0 -0
- sample_files/{messi_deepfake.mp4 → [DEEPFAKE] - Lionel Messi.mp4} +0 -0
- sample_files/{jokowi deepfake - cupid.mp4 → [DEEPFAKE] - jokowi - cupid.mp4} +0 -0
- sample_files/[DEEPFAKE] - obama.mp4 +3 -0
- sample_files/[REAL] - Interstellar.mp4 +3 -0
- sample_files/[REAL] - Lionel Messi.mp4 +3 -0
- sample_files/{obama_real.mp4 → [REAL] - Obama.mp4} +0 -0
deepfake_detection/main.py
CHANGED
@@ -57,7 +57,7 @@ class DeepfakeDetection:
|
|
57 |
ToTensorV2()])
|
58 |
|
59 |
def get_dataloader(self, images):
|
60 |
-
images = self.preprocess(images)
|
61 |
dataset = ImageDataset(images, transform=self.transform)
|
62 |
dataloader = DataLoader(dataset, batch_size=self.batch_size, shuffle=False)
|
63 |
|
|
|
57 |
ToTensorV2()])
|
58 |
|
59 |
def get_dataloader(self, images):
|
60 |
+
# images = self.preprocess(images)
|
61 |
dataset = ImageDataset(images, transform=self.transform)
|
62 |
dataloader = DataLoader(dataset, batch_size=self.batch_size, shuffle=False)
|
63 |
|
sample_files/[DEEPFAKE] - Tom Cruise .mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a2abe4b2702d3a5fd92bfdd69e5fd2177843990a1c791fe5bf2c613e0321acff
|
3 |
+
size 26060202
|
sample_files/{Better Call Trump_ Money Laundering 101 [DeepFake].mp4 → [DEEPFAKE] - Better Call Trump_ Money Laundering 101 [DeepFake].mp4}
RENAMED
File without changes
|
sample_files/{messi_deepfake.mp4 → [DEEPFAKE] - Lionel Messi.mp4}
RENAMED
File without changes
|
sample_files/{jokowi deepfake - cupid.mp4 → [DEEPFAKE] - jokowi - cupid.mp4}
RENAMED
File without changes
|
sample_files/[DEEPFAKE] - obama.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c3812d4b9baabc09d68a7a02601ae69c367ac49826b9a2e5cbdcbca59b843f1
|
3 |
+
size 4610918
|
sample_files/[REAL] - Interstellar.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3d081f3653c380a40a6e9710632abfca65e6c03ccb18034c2eec9f998d74dc3e
|
3 |
+
size 8957948
|
sample_files/[REAL] - Lionel Messi.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4b13e2c7865db90ff2b6b291b72a5e11c6b8011d8da58a9d7a8fcfdaf0826bf3
|
3 |
+
size 25098972
|
sample_files/{obama_real.mp4 → [REAL] - Obama.mp4}
RENAMED
File without changes
|