Skip to content

Commit

Permalink
need memory estimate for window size fig
Browse files Browse the repository at this point in the history
  • Loading branch information
billbrod committed Oct 22, 2020
1 parent 995c43c commit 7d938ea
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -1073,6 +1073,8 @@ rule window_size_figure:
'{image_name}_scaling-{scaling}_seed-{seed}_gpu-{gpu}_window_benchmark.txt'))
params:
cache_dir = lambda wildcards: op.join(config['DATA_DIR'], 'windows_cache'),
resources:
mem = get_mem_estimate,
run:
import foveated_metamers as met
import seaborn as sns
Expand Down
4 changes: 4 additions & 0 deletions prince.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"cpus_per_task": "{resources.cpus_per_task}"
},
"cache_windows":
{
"mem": "{resources.mem}GB"
},
"window_size_figure":
{
"mem": "{resources.mem}GB"
}
Expand Down
4 changes: 4 additions & 0 deletions rusty.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
"time": "{params.time}"
},
"cache_windows":
{
"mem": "{resources.mem}GB"
},
"window_size_figure":
{
"mem": "{resources.mem}GB"
}
Expand Down

0 comments on commit 7d938ea

Please sign in to comment.