Comments (7)
first two columns are logits for (male, female) and the second one is for Age
as you can see I've used last index (aka 3) for age
def l1loss_age(input, targs):
return F.l1_loss(input[:, -1], targs[:, -1]).mean()
from facelib.
first two columns are logits for (male, female) and the second one is for Age
as you can see I've used last index (aka 3) for age
def l1loss_age(input, targs): return F.l1_loss(input[:, -1], targs[:, -1]).mean()
Thanks for your reply!
from facelib.
first two columns are logits for (male, female) and the second one is for Age
as you can see I've used last index (aka 3) for agedef l1loss_age(input, targs): return F.l1_loss(input[:, -1], targs[:, -1]).mean()Thanks for your reply!
In Age & Gender Estimation,did you use the original image of UTKFace Dataset to train ShufflenetFull ?
from facelib.
Although I do not know what you mean by original, I train on UTKFace Dataset with ShufflenetFull as the backbone
from facelib.
Although I do not know what you mean by original, I train on UTKFace Dataset with ShufflenetFull as the backbone
Thanks!I see what you mean.
I have another question to ask:
def multitask_loss(input, target):
input_gender = input[:, :2]
input_age = input[:, -1]
loss_gender = F.cross_entropy(input_gender, target[:, 0].long())
loss_age = F.l1_loss(input_age, target[:, 2])
return loss_gender / (.16) + loss_age * 2
I want to know "loss_gender / (.16) + loss_age * 2",how is the ratio determined? Is it from the experiment?
from facelib.
Yep, the loss ratio results from some experiments
Depending on how much you care about gender detection or age estimation.
from facelib.
Yep, the loss ratio results from some experiments
Depending on how much you care about gender detection or age estimation.
Thank you for your patience!
from facelib.
Related Issues (20)
- CPU error HOT 1
- How to Compare two faces? HOT 4
- Face Landmarks HOT 1
- Metrics HOT 2
- ShuffleneTiny model for Age-Gender estimation HOT 2
- Nocorrect box coordinates HOT 1
- FaceLib on Nvidia Jetson Nano HOT 2
- Missing dependencies HOT 1
- RuntimeError: number of dims don't match in permute HOT 3
- Error in compare two faces HOT 1
- Coordinates for cv2.rectangle() need to be casted to int. HOT 1
- TypeError: infer() got multiple values for argument 'tta' HOT 3
- Error from AgeGender Webcam
- the training dataset of Facial Expression Recognition HOT 1
- OpenCV gives an error after a few seconds of opening the window HOT 1
- some questions HOT 6
- Issue with EasyDict HOT 2
- Expected emotions to detect
- Error in insightface HOT 6
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 facelib.