Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.

Commit

Permalink
mitigate memory usage during torch.save (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed Dec 22, 2016
1 parent b30ec03 commit ac65838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preprocess.lua
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ local function main()
end

print('Saving data to \'' .. opt.save_data .. '-train.t7\'...')
torch.save(opt.save_data .. '-train.t7', data)
torch.save(opt.save_data .. '-train.t7', data, 'binary', false)

end

Expand Down

0 comments on commit ac65838

Please sign in to comment.