daybreak-u / yolo-face-with-landmark Goto Github PK
View Code? Open in Web Editor NEWyoloface大礼包 使用pytroch实现的基于yolov3的轻量级人脸检测(包含关键点)
yoloface大礼包 使用pytroch实现的基于yolov3的轻量级人脸检测(包含关键点)
Hi!It is my honor to see your codes,I want to know how to train my own fish datasets instead of people datasets.Which codes should I change?I would appreciate it if you could tell me!Thanks!
你好,pytorch 和torchvision 版本是多少呢,我训练报下面的错
TypeError: _resolve_type_from_object(): incompatible function arguments. The following argument types are supported:
1. (arg0: object, arg1: torch._C._jit_tree_views.SourceRange, arg2: Callable[[str], function]) -> torch._C.Type
Invoked with: typing.Union[int, NoneType], None, <function try_ann_to_type..fake_rcb at 0x7f52e2a0de18>
谷歌搜了一下说是版本问题
你好,可不可以给一下标签文件 的示例呢?非常感谢
Hi,
I am trying to evaluate all models in ncnn. But even with ncnn converted model mbv3_small_1.bin/param the detection accuracy is much lower. I would like to know did you verified from your end that ncnn inference also gives the same result as this pytorch inference. If required I can provide detection results with eval numbers. Just for reference I have attached below ncnn detection result as well as python pytorch detection result in a sample image with same input size.
pytorch inference:
ncnn infernence:
`
Saving labels to /home/ps/superb/yolo-face-with-landmark/datas/yololandmark_wider_train.npy for faster future loading
Image sizes 320 - 640 train, 640 test
Using 8 dataloader workers
Starting training for 250 epochs...
Epoch gpu_mem GIoU obj cls land total targets img_size lr
0%| | 0/805 [00:00<?, ?it/s]Traceback (most recent call last):
File "train.py", line 365, in
train(hyp) # train normally
File "train.py", line 265, in train
loss, loss_items = compute_loss(pred, targets, model,point_number=hyp['point_num'])
File "/home/ps/zhouyizhi/yolo-face-with-landmark/utils/utils.py", line 238, in compute_loss
tcls, tbox, tpoint ,indices, anchors = build_targets(p, targets, model,point_number=point_number) # targets
File "/home/ps/zhouyizhi/yolo-face-with-landmark/utils/utils.py", line 342, in build_targets
no_train_index = torch.where(targets == -1 )
TypeError: where() missing 2 required positional argument: "input", "other"
`
请问下作者,这个错误该如何解决。
谢谢
博主,请问有具体来说明解释哪里做了改动吗?比如对那些文件进行了改写之类的
十分感谢大佬的代码,请问下,这个有尝试过pytorch的模型转成caffemodel么,好不好操作,损失大么?
Is it the same as train data?
Thank you very much for your innovative work, if I want to train a model with 64 or 98 key points. What other modifications are needed besides modifying point_num. Please provide help, thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.