Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small updates #72

Merged
merged 2 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion base_miner/deepfake_detectors/ucf_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def load_model(self):
self.ensure_weights_are_available(self.weights)
self.ensure_weights_are_available(self.backbone_weights)
model_class = DETECTOR[self.train_config['model_name']]
bt.logging.info(f"TEST PRINT: {self.train_config}")
bt.logging.info(f"Loaded config from training run: {self.train_config}")
self.model = model_class(self.train_config).to(self.device)
self.model.eval()
weights_path = Path(WEIGHTS_DIR) / self.weights
Expand Down
6 changes: 3 additions & 3 deletions docs/Mining.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- [Data 📊](#data)
- [Registration ✍️](#registration)
2. [Mining ⛏️](#mining)
3. [Train 🚂](#train)
3. [Training 🚂](#training)

## Before you proceed ⚠️

Expand Down Expand Up @@ -93,9 +93,9 @@ DETECTOR=CAMO # Options: CAMO, UCF, NPR
DETECTOR_CONFIG=camo.yaml # Configurations: camo.yaml, ucf.yaml, npr.yaml
# config files located in base_miner/deepfake_detectors/configs
DEVICE=cpu # Options: cpu, cuda
NETUID=34 # Network User ID options: 34, 168

# Subtensor Network Configuration:
NETUID=34 # Network User ID options: 34, 168
SUBTENSOR_NETWORK=finney # Networks: finney, test, local
SUBTENSOR_CHAIN_ENDPOINT=wss://entrypoint-finney.opentensor.ai:443
# Endpoints:
Expand Down Expand Up @@ -124,7 +124,7 @@ pm2 start run_neuron.py -- --miner
If you want to outperform the base model, you'll need to train on more data or try experiment with different hyperparameters and model architectures. See our [training](#train) section below for more details.


## Train
## Training

To see performance improvements over the base models, you'll need to train on more data, modify hyperparameters, or try a different modeling strategy altogether. Happy experimenting!

Expand Down
3 changes: 1 addition & 2 deletions docs/Validating.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ You can launch your validator with `run_neuron.py`.
First, make sure to update `validator.env` with your **wallet**, **hotkey**, and **validator port**. This file was created for you during setup, and is not tracked by git.

```bash
NETUID=34 # Network User ID options: 34, 168

# Subtensor Network Configuration:
NETUID=34 # Network User ID options: 34, 168
SUBTENSOR_NETWORK=finney # Networks: finney, test, local
SUBTENSOR_CHAIN_ENDPOINT=wss://entrypoint-finney.opentensor.ai:443
# Endpoints:
Expand Down
Loading