Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encountered issues during the runtime #17

Open
1453823135 opened this issue Mar 3, 2024 · 0 comments
Open

Encountered issues during the runtime #17

1453823135 opened this issue Mar 3, 2024 · 0 comments

Comments

@1453823135
Copy link

I have looked up some information, but still don't know how to solve it. Is there anyone who can help me?
Traceback (most recent call last):
File "test.py", line 45, in
main()
File "test.py", line 41, in main
test_func()
File "/home/liupanyan/ID-disentanglement-main/inference.py", line 59, in infer_on_dirs
pred = self.G(id_img, attr_img)[0]
File "/home/liupanyan/anaconda3/envs/id_disen/lib/python3.7/site-packages/tensorflow_core/python/keras/engine/base_layer.py", line 891, in call
outputs = self.call(cast_inputs, *args, **kwargs)
File "/home/liupanyan/anaconda3/envs/id_disen/lib/python3.7/site-packages/tensorflow_core/python/eager/def_function.py", line 457, in call
result = self._call(*args, **kwds)
File "/home/liupanyan/anaconda3/envs/id_disen/lib/python3.7/site-packages/tensorflow_core/python/eager/def_function.py", line 526, in _call
return self._concrete_stateful_fn._filtered_call(canon_args, canon_kwds) # pylint: disable=protected-access
File "/home/liupanyan/anaconda3/envs/id_disen/lib/python3.7/site-packages/tensorflow_core/python/eager/function.py", line 1141, in _filtered_call
self.captured_inputs)
File "/home/liupanyan/anaconda3/envs/id_disen/lib/python3.7/site-packages/tensorflow_core/python/eager/function.py", line 1224, in _call_flat
ctx, args, cancellation_manager=cancellation_manager)
File "/home/liupanyan/anaconda3/envs/id_disen/lib/python3.7/site-packages/tensorflow_core/python/eager/function.py", line 511, in call
ctx=ctx)
File "/home/liupanyan/anaconda3/envs/id_disen/lib/python3.7/site-packages/tensorflow_core/python/eager/execute.py", line 67, in quick_execute
six.raise_from(core._status_to_exception(e.code, message), None)
File "", line 3, in raise_from
tensorflow.python.framework.errors_impl.InvalidArgumentError: Conv2DCustomBackpropInputOp only supports NHWC.
[[node G_synthesis/G_synthesis/128x128/Conv0_up/conv2d_transpose (defined at /home/liupanyan/anaconda3/envs/id_disen/lib/python3.7/site-packages/tensorflow_core/python/framework/ops.py:1751) ]] [Op:__inference_call_26547]

Function call stack:
call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant