Comments (5)
Hi, we only tested the code with python 3.8 and the versions of the packages as listed in requirements.txt. I would suggest creating a new conda environment with python 3.8 and then pip installing from requirements.txt. Hope that helps.
from lipforensics.
Thanks for your reply!And sorry to bother you again.
I tried using python3.8 and the requirements.But when I run the crop_mouths.py,it still make a mistake.
The landmark pictures (png) I made are 960x480, and then I turn then into npy. Maybe there was a mistake here?
File "F:\Anaconda3\envs\py38torch19\lib\site-packages\skimage\transform_geometric.py", line 1621, in estimate_transform
tform.estimate(src, dst, *args, **kwargs)
File "F:\Anaconda3\envs\py38torch19\lib\site-packages\skimage\transform_geometric.py", line 1362, in estimate
self.params = _umeyama(src, dst, estimate_scale=True)
File "F:\Anaconda3\envs\py38torch19\lib\site-packages\skimage\transform_geometric.py", line 128, in _umeyama
A = dst_demean.T @ src_demean / num
ValueError: matmul: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (n?,k),(k,m?)->(n?,m?) (size 960 is different from 5)
from lipforensics.
In what format are the landmarks you use? The numpy array of the landmarks for each frame must be of size (68, 2), i.e., there are 68 landmarks per frame. You can use FAN to compute them.
from lipforensics.
Closing this now. Please reopen if you're still having issues.
from lipforensics.
Closing this now. Please reopen if you're still having issues.
Sorry for the late reply, thanks for your help.
from lipforensics.
Related Issues (13)
- When will you upload the train.py ??
- Bug: 'builtin_function_or_method' object is not iterable. && AUC on CelebDF is far away from paper's. HOT 2
- Loss Function of this model HOT 2
- How to train the model?
- How to use the Retinaface to generate the landmarks file... HOT 7
- Can you provide your train.py file?
- Cannot reproduce AUC on FF++ test split. HOT 3
- Models for Generalisation to unseen manipulations
- Can you provide your train.py file?
- How does the output logits value judge whether it is real or fake? HOT 2
- How does the output logits value judge whether it is real or fake?
- logits value is always above 0.95. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lipforensics.