Skip to content

Commit

Permalink
Weights renaming (#76)
Browse files Browse the repository at this point in the history
* removing deprecated train_data.py

* updating weight and config filenames w version str
  • Loading branch information
dylanuys authored Oct 2, 2024
1 parent dfa1614 commit ee7bd0c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 293 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
288 changes: 0 additions & 288 deletions bitmind/utils/train_data.py

This file was deleted.

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 ee7bd0c

Please sign in to comment.