Skip to content

Commit

Permalink
Merge pull request #7 from w86763777/main
Browse files Browse the repository at this point in the history
Great work. I just make it runnable out of the box.
  • Loading branch information
zhenzhiwang committed Nov 16, 2022
2 parents be8db4b + c2a6673 commit e694e69
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion mmn/config/paths_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os

class DatasetCatalog(object):
DATA_DIR = "datasets"
DATA_DIR = ""

DATASETS = {
"tacos_train":{
Expand Down
2 changes: 1 addition & 1 deletion train_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def main():
torch.backends.cudnn.deterministic = True

num_gpus = int(os.environ["WORLD_SIZE"]) if "WORLD_SIZE" in os.environ else 1
args.distributed = num_gpus > 1
args.distributed = True

if args.distributed:
torch.cuda.set_device(args.local_rank)
Expand Down

0 comments on commit e694e69

Please sign in to comment.