chore(example/neural-style-transfer): twist to test Colab GPU
This commit is contained in:
parent
1eb4f57f6f
commit
97b8f9a653
|
@ -172,7 +172,7 @@ func main() {
|
|||
if (stepIdx % 10) == 0 {
|
||||
clone := inputVar.MustShallowClone()
|
||||
img := clone.MustDetach()
|
||||
clone.MustDrop()
|
||||
// clone.MustDrop()
|
||||
err := in.SaveImage(img, fmt.Sprintf("../../data/neural-style-transfer/out%v.jpg", stepIdx))
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
|
Loading…
Reference in New Issue
Block a user