You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi as a suggestion when computing the WGAN loss in your descriminator.
Newer versions of tensorflow will throw a warning an error at the usage of bolean_mask with sparse and shape changing tensors (for example when switching the batch size, fro a training/test set).
It is suggested to replace with dynamic_partition.
The warning will be:
UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape.
This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
Hi as a suggestion when computing the WGAN loss in your descriminator.
Newer versions of tensorflow will throw a warning an error at the usage of
bolean_mask
with sparse and shape changing tensors (for example when switching the batch size, fro a training/test set).It is suggested to replace with
dynamic_partition
.The warning will be:
The original code is:
the change would look like this:
The text was updated successfully, but these errors were encountered: