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

Error while running the example #14

Open
Nyrize opened this issue Jan 18, 2022 · 0 comments
Open

Error while running the example #14

Nyrize opened this issue Jan 18, 2022 · 0 comments

Comments

@Nyrize
Copy link

Nyrize commented Jan 18, 2022

Traceback (most recent call last):
File "/home/Desktop/Files/Talking-Face-Landmarks-from-Speech/talkface/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 61, in _wrapfunc
return bound(*args, **kwds)
TypeError: 'float' object cannot be interpreted as an integer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "generate.py", line 87, in
generated = np.reshape(generated, (generated.shape[0], generated.shape[1]/2, 2))
File "<array_function internals>", line 6, in reshape
File "/home/Desktop/Files/Talking-Face-Landmarks-from-Speech/talkface/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 301, in reshape
return _wrapfunc(a, 'reshape', newshape, order=order)
File "/home/Desktop/Files/Talking-Face-Landmarks-from-Speech/talkface/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 70, in _wrapfunc
return _wrapit(obj, method, *args, **kwds)
File "/home/Desktop/Files/Talking-Face-Landmarks-from-Speech/talkface/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 47, in _wrapit
result = getattr(asarray(obj), method)(*args, **kwds)
TypeError: 'float' object cannot be interpreted as an integer

Environment:
Python 3.7.5
numpy==1.18.0

on Ubuntu 18.04 LTS

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