Skip to content

Commit

Permalink
Update WANDB configs
Browse files Browse the repository at this point in the history
  • Loading branch information
VainF committed Jul 7, 2024
1 parent a11bef3 commit 4a24666
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions convnext_train.py
Original file line number Diff line number Diff line change
@@ -41,8 +41,8 @@
from timm.utils import ApexScaler, NativeScaler

import torch_pruning as tp
import pruning_bench as pbench
pbench.pruning.patch_timm_forward()
import pbench
pbench.forward_patch.patch_timm_forward()

from PIL import ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True
@@ -512,6 +512,7 @@ def main():
wandb.init(
# set the wandb project where this run will be logged
project="Pruning",
name=args.model.replace('/', '_'),
# track hyperparameters and run metadata
config=args,
)
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
@@ -263,7 +263,7 @@ def main(args):
if torch.distributed.get_rank() == 0:
wandb.init(
# set the wandb project where this run will be logged
project="pbench",
project="Pruning",
name=args.model.replace('/', '_'),
# track hyperparameters and run metadata
config=args,

0 comments on commit 4a24666

Please sign in to comment.