Comments (3)
Hi! Thank you for your interest! And yes, this is something I can add to the repo as a todo. Thanks for flagging this!
But to help in unblocking you for the time being, to implement the FD score that is in the paper, we adapt this function but instead of calculating the activation statistics, we calculate the statistics from the raw poses.
https://github.com/hukkelas/pytorch-frechet-inception-distance/blob/master/fid.py#L108
Diversity for the static poses was computed with 1) just taking the variance across a temporal sequence and 2) using this function:
def calculate_diversity(activation, diversity_times=10_000):
assert len(activation.shape) == 2
assert activation.shape[0] > diversity_times
num_samples = activation.shape[0]
first_indices = np.random.choice(num_samples, diversity_times, replace=False)
second_indices = np.random.choice(num_samples, diversity_times, replace=False)
dist = linalg.norm(activation[first_indices] - activation[second_indices], axis=1)
return dist
Hope this helps in the meantime! Please let me know if there is any questions in the meantime.
from audio2photoreal.
Thank you for your outstanding work. I am new in this field. Could you please provide all the codes for calculating evaluation indicators?
from audio2photoreal.
Hi! thank you for your interest in this work! Providing the full evaluation indicators will be on our list of todo's. I just have to clean it up a bit, but will push a PR soon hopefully!
from audio2photoreal.
Related Issues (20)
- How to change the position of camera/model? HOT 1
- Training the model with different data format HOT 1
- The lips regressor predicts unexpected result HOT 5
- Switching from Recording to Uploading Audio in a Demo: Is it Possible? HOT 1
- Why the data is not as in the README ? HOT 2
- Models and pre-requisites models unavailable HOT 3
- Does it support languages other than English? HOT 1
- Models and pre-requisites models unavailable HOT 3
- What model was used to extract the body pose ? HOT 4
- Multiple GPUs DDP error HOT 5
- Data acquisition and processing HOT 3
- The evaluation code for lip reconstructions HOT 1
- Is it possible to run the demo in a laptop without GPU? HOT 1
- Training inference time and test data HOT 2
- How to train a new model from scratch HOT 1
- Visualize 2 avatars in the same scene, just like the introduction page HOT 1
- Replancement of fairseq HOT 1
- Video data HOT 1
- 1
- when i run python -m demo.demo, I test a audio,have a error? 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 audio2photoreal.