Skip to content

Commit

Permalink
replaces custom saver with SaveImage
Browse files Browse the repository at this point in the history
  • Loading branch information
garciadias committed Jan 21, 2025
1 parent 1672aa1 commit 0fcc2bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
"saver": {
"_target_": "SaveImage",
"_requires_": "@create_output_dir",
"output_dir": "@output_dir"
"output_dir": "@output_dir",
"output_postfix": "@out_file"
},
"run": "[email protected](@sample, @out_file)",
"save": "$torch.save(@sample, @output_dir + '/' + @out_file + '.pt')"
"run": "$@saver(@sample[0][0])"
}

This file was deleted.

0 comments on commit 0fcc2bd

Please sign in to comment.