Comments (6)
Hi, Here is the cfg file of mobilenetv3 on 300W:
class Config(): def __init__(self): self.det_head = 'pip' self.net_stride = 32 self.batch_size = 16 self.init_lr = 0.0001 self.num_epochs = 120 self.decay_steps = [60, 100] self.input_size = 256 self.backbone = 'mobilenet_v3' self.pretrained = True self.criterion_cls = 'l2' self.criterion_reg = 'l1' self.cls_loss_weight = 10 self.reg_loss_weight = 1 self.num_lms = 68 self.save_interval = self.num_epochs self.num_nb = 10 self.use_gpu = True self.gpu_id = 0
For get_meanface function, all backbones share the same file, and the data name corresponds to training data, e.g., datat_300W, WFLW, etc.
from pipnet.
I may have confused.
Have you offered the facial landmark model trained on MobileNetv3 or MobileNet-v2?
The model mentioned above "mobilenet-v3-large model (mobilenetv3-large-1cd25616.pth) in ~/PIPNet/lib
" is the pretrained model, not the final facial landmark model, is that right ?
from pipnet.
Will you provid the trained models of MobileNet-V3 and MobileNet-v2 ? It woild be very appreciated.
from pipnet.
I did not provide trained model for mobilenets previously. And the one named '"mobilenet-v3-large model (mobilenetv3-large-1cd25616.pth)" is an ImageNet pretrained model for initialization.
I just updated the trained models by adding mobilenet v2 and v3 trained on 300W and WFLW. You may check the shared Google Drive in the ReadMe.
from pipnet.
Thx!!
I will test the model. Thanks for your sharing.
For the model you trained on WFLW, the config file should be like this:
class Config():
def __init__(self):
self.det_head = 'pip'
self.net_stride = 32
self.batch_size = 16
self.init_lr = 0.0001
self.num_epochs = 120
self.decay_steps = [60, 100]
self.input_size = 256
self.backbone = 'mobilenet_v3'
self.pretrained = True
self.criterion_cls = 'l2'
self.criterion_reg = 'l1'
self.cls_loss_weight = 10
self.reg_loss_weight = 1
self.num_lms = 98
self.save_interval = self.num_epochs
self.num_nb = 10
self.use_gpu = True
self.gpu_id = 0
Is that right ?
Again, thanks for your awasome work.
from pipnet.
Yes, I think so. The only difference is the number of landmarks.
Your're welcome :)
from pipnet.
Related Issues (20)
- Question about training parameters HOT 1
- How to get the credibility of the key points of the face? HOT 4
- snapshot cannot download HOT 2
- Questions about the confidence of key points HOT 2
- Can the project be deployed on WINDOWS HOT 2
- get_meanface error HOT 1
- sh make.sh HOT 1
- Excuse me,How to get the data for this file,'meanface.txt' HOT 2
- tf2 model or tflite HOT 1
- About LaPa preprocess.py part HOT 2
- Where is celeba_bboxes.txt? HOT 2
- troubleshooting sh run_train.sh HOT 3
- Is the stride or feature map size influence the NME? HOT 2
- Training with data where some points are missing from GT HOT 1
- increasing accuracy if using only eye eyebrow nose landmark HOT 1
- gssl training HOT 5
- Very low GPU utilizaiton ratio HOT 1
- Can this project include the forehead? HOT 5
- crop process issue HOT 1
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 pipnet.