chore(example/neural-style-transfer): twist to test Colab GPU

This commit is contained in:
sugarme 2020-07-05 10:02:32 +10:00
parent 1eb4f57f6f
commit 97b8f9a653

View File

@ -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)