Skip to content

Commit

Permalink
removed save_weights
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnav0400 authored Aug 12, 2021
1 parent 31a1750 commit 338614f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import random

# adapt these to you setup
NR_GPUS = 2
NR_PROCESSES = 2
NR_GPUS = 4
NR_PROCESSES = 4

cnt = -1

Expand All @@ -23,7 +23,7 @@ def call_script(scripts):
gpu = cnt % NR_GPUS
crt_env['CUDA_VISIBLE_DEVICES'] = str(gpu)
print(scripts)
sp.call([sys.executable, 'main.py', '--model_name', str(model), '--dataset', str(dataset), '--num_classes', str(num_classes), '--epochs', str(epochs), '--save_weights', '--weight_activation', wa], env=crt_env)
sp.call([sys.executable, 'main.py', '--model_name', str(model), '--dataset', str(dataset), '--num_classes', str(num_classes), '--epochs', str(epochs), '--weight_activation', wa], env=crt_env)


if __name__ == '__main__':
Expand All @@ -40,4 +40,4 @@ def call_script(scripts):
pool.map(call_script, scripts)
pool.close()
pool.join()


0 comments on commit 338614f

Please sign in to comment.