SystemErrorWang / White-box-Cartoonization

Official tensorflow implementation for CVPR2020 paper “Learning to Cartoonize Using White-box Cartoon Representations”
3.93k stars 737 forks source link

Coversion Failed #95

Open HVD2 opened 2 years ago

HVD2 commented 2 years ago

Hello,

I use google colab and can not convert images, and i take errors is given below, Could you please help?

`WARNING:tensorflow:From /content/White-box-Cartoonization/test_code/network.py:23: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead.

WARNING:tensorflow:From /tensorflow-1.15.2/python3.7/tensorflow_core/contrib/layers/python/layers/layers.py:1057: Layer.apply (from tensorflow.python.keras.engine.base_layer) is deprecated and will be removed in a future version. Instructions for updating: Please use layer.__call__ method instead. WARNING:tensorflow:From /content/White-box-Cartoonization/test_code/network.py:45: The name tf.image.resize_bilinear is deprecated. Please use tf.compat.v1.image.resize_bilinear instead.

INFO:tensorflow:Restoring parameters from saved_models/model-33999 64%|██████▎ | 7/11 [00:00<00:00, 59.80it/s]cartoonize test_images/national_park1.jpg failed cartoonize test_images/mountain5.jpg failed cartoonize test_images/china6.jpg failed cartoonize test_images/liuyifei4.jpg failed cartoonize test_images/mountain4.jpg failed cartoonize test_images/london1.jpg failed cartoonize test_images/actress2.jpg failed 100%|██████████| 11/11 [00:00<00:00, 60.94it/s]cartoonize test_images/party7.jpg failed cartoonize test_images/party5.jpg failed cartoonize test_images/food16.jpg failed cartoonize test_images/food6.jpg failed`

AmitGarage commented 2 years ago

Please insert some break points check to confirm which function is giving error . After that any comment can be made . I was able to convert image.