Deleted stray commented line
This commit is contained in:
@@ -85,7 +85,6 @@ for t in range(100):
|
|||||||
pydiffvg.imwrite(img, 'results/single_curve_tf/iter_{}.png'.format(t))
|
pydiffvg.imwrite(img, 'results/single_curve_tf/iter_{}.png'.format(t))
|
||||||
|
|
||||||
grads = tape.gradient(loss_value, [points_n, color])
|
grads = tape.gradient(loss_value, [points_n, color])
|
||||||
#grads = tape.gradient(loss_value, [points_n])
|
|
||||||
print(grads)
|
print(grads)
|
||||||
optimizer.apply_gradients(zip(grads, [points_n, color]))
|
optimizer.apply_gradients(zip(grads, [points_n, color]))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user