Skip to content

Commit

Permalink
updating weight and config filenames w version str
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanuys committed Oct 2, 2024
1 parent bdf5f20 commit 1ca2992
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions base_miner/deepfake_detectors/configs/ucf.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# UCFDetector Generalist Configuration
hf_repo: 'bitmind/bm-ucf' # Hugging Face repository for downloading model files
train_config: 'bm-general-config.yaml' # pre-trained configuration file in HuggingFace
weights: 'bm-general.pth' # UCF model checkpoint in HuggingFace
train_config: 'bm-general-config-v1.yaml' # pre-trained configuration file in HuggingFace
weights: 'bm-general-v1.pth' # UCF model checkpoint in HuggingFace
4 changes: 2 additions & 2 deletions base_miner/deepfake_detectors/configs/ucf_face.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# UCFDetector Face Expert Configuration
hf_repo: 'bitmind/bm-ucf' # Hugging Face repository for downloading model files
train_config: 'bm-faces-config.yaml' # pre-trained configuration file in HuggingFace
weights: 'bm-faces.pth' # UCF model checkpoint in HuggingFace
train_config: 'bm-faces-config-v1.yaml' # pre-trained configuration file in HuggingFace
weights: 'bm-faces-v1.pth' # UCF model checkpoint in HuggingFace
2 changes: 1 addition & 1 deletion neurons/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, config=None):

bt.logging.info("Loading real datasets")
self.real_image_datasets = [
ImageDataset(ds['path'], 'train', ds.get('name', None), ds['create_splits'])
ImageDataset(ds['path'], 'train', ds.get('name', None))
for ds in DATASET_META['real']
]

Expand Down

0 comments on commit 1ca2992

Please sign in to comment.