Comments (6)
yeah, it will need to comment some parts for missing file and i changed some setting in opt file so it can run on my single 1070
from chalearn_liveness_challenge.
Hi @John1231983
I also successfully run the code. Probably this note can be useful:
-
Remark all mobilenetv2 import (there are three files, find using "find in file" option on visual code)
-
Make sure all paths are correct, including "data_root" at init_dataloader.py, weights paths at resnet_caffe_*.py, and etc.
-
Remark this part on "trainer.py":
""" self.visdom_log_file = os.path.join(self.opt.out_path, 'log_files', 'visdom.log')
self.vis = Visdom(port = opt.visdom_port,
log_to_filename=self.visdom_log_file,
env=opt.exp_name + '_' + str(opt.fold))self.vis_loss_opts = {'xlabel': 'epoch', 'ylabel': 'loss', 'title':'losses', 'legend': ['train_loss', 'val_loss']} self.vis_tpr_opts = {'xlabel': 'epoch', 'ylabel': 'tpr', 'title':'val_tpr', 'legend': ['tpr@fpr10-2', 'tpr@fpr10-3', 'tpr@fpr10-4']} self.vis_epochloss_opts = {'xlabel': 'epoch', 'ylabel': 'loss', 'title':'epoch_losses', 'legend': ['train_loss', 'val_loss']} """
-
Don't forget to download the model*.pth from CASIA-SURF dataset, and put on the corresponding folder as shown on point 5 (pth path).
-
I run the val script as follows:
python inference.py --config /home/face-spoofing/ChaLearn_liveness_challenge/data/opts/exp1_2stage_seed1/exp1_2stage_seed1_fold1_stage1.opt --pth /home/face-spoofing/ChaLearn_liveness_challenge/data/opts/exp1_2stage_seed1/fold1/checkpoints/model_30.pth --input_list /home/face-spoofing/ChaLearn_liveness_challenge/data/lists/folds_by_fakes/fold1/val_list.txt --output_list /home/face-spoofing/ChaLearn_liveness_challenge/output.txt
Cheers!
from chalearn_liveness_challenge.
Hi,
I found the links for exp1_2stage and exp3c on google drive to be broken. Can the author check and fix the broken links?
from chalearn_liveness_challenge.
Hello, download the model in the fourth article you wrote. Where did you download the model? could you tell me the specific path? @mrkstt
from chalearn_liveness_challenge.
Hi, could you please kindly tell me where I can find "the model*.pth from CASIA-SURF dataset" as you mentioned? @mrkstt I cannot locate it anywhere within CASIA-SURF dataset, or I am missing something here...
from chalearn_liveness_challenge.
I think the authors removed the .pth model file. If you're interested, please drop an email to me [email protected] @cakuba @zhangxiaopang88
Thanks and sorry for the late reply.
from chalearn_liveness_challenge.
Related Issues (20)
- Provide basic demo calls HOT 1
- No such file or directory: 'train/Training/fake_part/CLKJ_BS1074/06_enm_b.rssdk/ir/221_resized.jpg' HOT 1
- do CVPR paper's model consist of SE block? HOT 2
- 谁能帮我调通这个程序,高价!
- =====================tr'
- =====================tr'?%
- Where is model_30.pth should be download? HOT 2
- only infrared image testing HOT 1
- FPS
- ERROR: => no checkpoint found at 'model_29.pth'. How to get model_29.pth ?
- Can your code apply to facial recognition if I replace labels 0 and 1 with different numbers?
- Where to find exp1_2stage?
- met issue when run python inference.py HOT 5
- Where can I find your paper? HOT 4
- Running in windows
- Shared Model Google Drive links are out of date
- Model links out of date
- ModuleNotFoundError: No module named 'models.architectures.mobilenetv2b' HOT 4
- no member named ‘exc_value’; did you mean ‘curexc_value’?
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 chalearn_liveness_challenge.