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

What does this error mean #4

Open
ooochen-30 opened this issue Feb 2, 2023 · 1 comment
Open

What does this error mean #4

ooochen-30 opened this issue Feb 2, 2023 · 1 comment

Comments

@ooochen-30
Copy link

i try to run the command(python run_editing.py) but it always can not generate the mask_warp picture successfully.


warp mask: 0/1
Traceback (most recent call last):
File "run_editing.py", line 188, in
predictions = make_mask_animation(source_image, mask_image, driving_video, generator, kp_detector, relative=False, adapt_movement_scale=False)
File "/home/xdy/code/DeepFaceVideoEditing-main/warp_mask.py", line 64, in make_mask_animation
mask = jt.array(mask_image[np.newaxis].astype(np.float32)).permute(0, 3, 1, 2)
File "/home/xdy/anaconda3/envs/jittor/lib/python3.8/site-packages/jittor/init.py", line 569, in transpose
return origin_transpose(x, dim)
RuntimeError: Wrong inputs arguments, Please refer to examples(help(jt.ops.transpose)).

Types of your inputs are:
self = module,
args = (Var, tuple, ),

The function declarations are:
VarHolder* transpose(VarHolder* x, NanoVector axes=NanoVector())

Failed reason:[f 0202 14:39:38.463771 60 transpose_op.cc:62] Check failed axes.size()(4) == xdim(3)

@ty625911724
Copy link

Thanks for your interests! We have updated the released code and you can try again with the example scripts.

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

2 participants