| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 213944355
|
|
|
|
| |
PiperOrigin-RevId: 213915666
|
|
|
|
|
|
|
|
| |
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 212336464
|
|\
| |
| |
| | |
PiperOrigin-RevId: 211502883
|
| |
| |
| |
| | |
PiperOrigin-RevId: 210334354
|
| |
| |
| |
| |
| |
| |
| |
| | |
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 209701635
|
| |
| |
| |
| | |
Since the refactor done in 47dea684efa41981e10299c2737317c504ce41af the `use_loss_summaries` argument of GANEstimator isn't respected anymore. This PR restores the original behavior and passes `use_loss_summaries` down to the loss functions.
|
| |
| |
| |
| |
| |
| | |
domain.
PiperOrigin-RevId: 208513708
|
| |
| |
| |
| | |
PiperOrigin-RevId: 208497573
|
| |
| |
| |
| | |
PiperOrigin-RevId: 208126204
|
|\ \
| | |
| | |
| | | |
PiperOrigin-RevId: 207596874
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- stargan_loss is added to train.py as other xgan_loss.
- StarGANModel wrappers for generator_loss, discrminator_loss, and
gradient_penalty are defined in losses/tuple_losses_impl.py.
PiperOrigin-RevId: 206509200
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 206027004
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 205731279
|
| | |
| | |
| | |
| | | |
PiperOrigin-RevId: 205703156
|
| |/
|/|
| |
| | |
PiperOrigin-RevId: 205702476
|
| |
| |
| |
| | |
PiperOrigin-RevId: 205555784
|
|\ \
| | |
| | |
| | | |
PiperOrigin-RevId: 205042372
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Defined namedtuple for StarGAN model.
- Function for StarGAN model creation.
- Test for StarGAN model creation.
- Fix small lint issue in train.py.
PiperOrigin-RevId: 204923505
|
|/ /
| |
| |
| |
| | |
`self.assertTrue(3.0)` always evaluates to `True`.
This PR fixes assertion so it will correctly check the loss value.
|
|/
|
|
|
| |
Training discriminator and generator with different ratios can already be done using `get_hooks_fn`.
This was resolved in #14723
|
|
|
|
| |
PiperOrigin-RevId: 203926475
|
|
|
|
| |
PiperOrigin-RevId: 203914111
|
|\
| |
| | |
add checking for input values in GANHead constructor
|
| | |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
https://github.com/alexpantyukhin/tensorflow into ganhead_constructor_validate
# Conflicts:
# tensorflow/contrib/gan/python/estimator/python/head_impl.py
|
| | | |
|
| | | |
|
| |/|
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Make op unique name generation case insensitive
Unique name generation for operations depends on checking a dict for
names currently in use. This commit makes it so that the names stored in
this dict are always lowercase so that we can check if a name already
exists regardless of the capitalization.
This helps in filesystems where file paths are case insensitive and
tensor dumps (like with tfdbg) try to follow directory structures that
correspond to the tensor names. If two tensors have names with the same
spelling, but different capitalizations, then this can lead to unintended
side effects/errors on these case-insensitive file systems.
* Change variable name to match unique_name
* Adjust op names to fix tests
|
| | |
|
| | |
|
| |
| |
| | |
* fixed typos
|
| |
| |
| |
| | |
PiperOrigin-RevId: 194031845
|
| |
| |
| |
| | |
PiperOrigin-RevId: 193917167
|
| |
| |
| |
| |
| |
| | |
always affect the values. https://docs.python.org/2/library/functions.html#locals.
PiperOrigin-RevId: 193116254
|
|/ |
|
|
|
|
| |
PiperOrigin-RevId: 192388250
|
|
|
|
| |
PiperOrigin-RevId: 192341561
|
|
|
|
|
|
| |
This reverts commit 4e108ef30d7cd7ae5e1c550ec5ae27e79b8c6e39.
PiperOrigin-RevId: 191391075
|
|
|
|
| |
PiperOrigin-RevId: 191302480
|
|
|
|
| |
PiperOrigin-RevId: 190878279
|
|
|
|
| |
PiperOrigin-RevId: 189945839
|
|
|
|
|
|
| |
Avoids the potentially numerically instable square root in the linalg_ops.norm() function because we 'undo' that operation with a math_ops.square() operation anyway.
PiperOrigin-RevId: 189677716
|
|
|
|
| |
PiperOrigin-RevId: 189258641
|
|
|
|
| |
PiperOrigin-RevId: 189232299
|
|
|
|
| |
PiperOrigin-RevId: 189231636
|
|
|
|
| |
PiperOrigin-RevId: 188817194
|
|
|
|
| |
PiperOrigin-RevId: 186073337
|
|
|
|
| |
PiperOrigin-RevId: 186005130
|