simply running the code (requirements from the closed pull request on macos instructions because you made the readme.md vague)
2021-05-25 22:48:09.086149: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_100.dll
WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
* https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
* https://github.com/tensorflow/addons
* https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.
WARNING:tensorflow:From cartoonize.py:26: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
WARNING:tensorflow:From C:\Users\Flashlight Bulbton\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 C:\Users\FlashlightBulbton\anaconda3\envs\whitebox\lib\site-packages\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 C:\Users\Flashlight Bulbton\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.
Traceback (most recent call last):
File "cartoonize.py", line 65, in <module>
cartoonize(load_folder, save_folder, model_path)
File "cartoonize.py", line 28, in cartoonize
final_out = guided_filter.guided_filter(input_photo, network_out, r=1, eps=5e-3)
File "C:\Users\Flashlight Bulbton\White-box-Cartoonization\test_code\guided_filter.py", line 23, in guided_filter
N = tf_box_filter(tf.ones((1, x_shape[1], x_shape[2], 1), dtype=x.dtype), r)
File "C:\Users\FlashlightBulbton\anaconda3\envs\whitebox\lib\site-packages\tensorflow_core\python\ops\array_ops.py", line 2560, in ones
output = _constant_if_small(one, shape, dtype, name)
File "C:\Users\FlashlightBulbton\anaconda3\envs\whitebox\lib\site-packages\tensorflow_core\python\ops\array_ops.py", line 2295, in _constant_if_small
if np.prod(shape) < 1000:
File "<__array_function__ internals>", line 6, in prod
File "C:\Users\FlashlightBulbton\anaconda3\envs\whitebox\lib\site-packages\numpy\core\fromnumeric.py", line 3031, in prod
keepdims=keepdims, initial=initial, where=where)
File "C:\Users\FlashlightBulbton\anaconda3\envs\whitebox\lib\site-packages\numpy\core\fromnumeric.py", line 87, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
File "C:\Users\FlashlightBulbton\anaconda3\envs\whitebox\lib\site-packages\tensorflow_core\python\framework\ops.py", line 736, in __array__
" array.".format(self.name))
NotImplementedError: Cannot convert a symbolic Tensor (strided_slice:0) to a numpy array.```
no clue what this means i put the npy in the folder
simply running the code (requirements from the closed pull request on macos instructions because you made the readme.md vague)