taki0112 / UGATIT

Official Tensorflow implementation of U-GAT-IT: Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation (ICLR 2020)
MIT License
6.17k stars 1.04k forks source link

Some problems #24

Closed Alpaca4610 closed 5 years ago

Alpaca4610 commented 5 years ago

_> WARNING:tensorflow:From C:\Users\Lenovo\Desktop\UGATIT-master\UGATIT.py:355: shuffle_and_repeat (from tensorflow.contrib.data.python.ops.shuffle_ops) is deprecated and will be removed in a future version. Instructions for updating: Use tf.data.experimental.shuffle_and_repeat(...). WARNING:tensorflow:From C:\Users\Lenovo\Desktop\UGATIT-master\UGATIT.py:355: map_and_batch (from tensorflow.contrib.data.python.ops.batching) is deprecated and will be removed in a future version. Instructions for updating: Use tf.data.experimental.map_and_batch(...). WARNING:tensorflow:From C:\Users\Lenovo\Desktop\UGATIT-master\UGATIT.py:355: prefetch_to_device (from tensorflow.contrib.data.python.ops.prefetching_ops) is deprecated and will be removed in a future version. Instructions for updating: Use tf.data.experimental.prefetch_to_device(...).

ValueError: Tensor conversion requested dtype string for Tensor with dtype float32: 'Tensor("arg0:0", shape=(), dtype=float32)'

TypeError: Input 'filename' of 'ReadFile' Op has type float32 that does not match expected type of string._

image

1mpossibleHacker commented 5 years ago

Pretty much the same

tafseerahmed commented 5 years ago

Probably need @taki0112 to give requirements.txt and environment details.

taki0112 commented 5 years ago

make sure your dataset is located in the ./dataset folder and pass its name with the --dataset argument. Here is an example of a dataset.