Skip to content

Commit

Permalink
CLEAN_MODEL=true by default. No overhead
Browse files Browse the repository at this point in the history
  • Loading branch information
nagadomi committed Nov 13, 2018
1 parent 996ff1d commit 1b946a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ local photo_model = {
noise3 = w2nn.load_model(path.join(PHOTO_MODEL_DIR, "noise3_model.t7"), opt.force_cudnn)
}
collectgarbage()
local CLEANUP_MODEL = false -- if you are using the low memory GPU, you could use this flag.
local CLEANUP_MODEL = true -- if you are using the low memory GPU, you could use this flag.
local CACHE_DIR = path.join(ROOT, "cache")
local MAX_NOISE_IMAGE = opt.max_pixels
local MAX_SCALE_IMAGE = (math.sqrt(opt.max_pixels) / 2)^2
Expand Down

0 comments on commit 1b946a5

Please sign in to comment.