Skip to content

Commit

Permalink
Fix minor bug 'force_compute_all' not a vaild argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Unal Ege Gaznepoglu committed Dec 19, 2023
1 parent a7439c5 commit 98362ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions run_anonymization.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
else:
devices.append(torch.device('cpu'))

pipeline = PIPELINES[config['pipeline']](config=config, force_compute_all=args.force_compute, devices=devices)
pipeline.run_anonymization_pipeline(datasets)

with torch.no_grad():
pipeline = PIPELINES[config['pipeline']](config=config, force_compute=args.force_compute, devices=devices)
pipeline.run_anonymization_pipeline(datasets)

0 comments on commit 98362ae

Please sign in to comment.