Comments (7)
in models.py, from line 64, should be modified:
nn.Conv2d(ins,int(outs//2),1),
nn.BatchNorm2d(int(outs//2)),
nn.ReLU(inplace=True),
nn.Conv2d(int(outs//2),int(outs//2),3,1,1),
nn.BatchNorm2d(int(outs//2)),
nn.ReLU(inplace=True),
nn.Conv2d(int(outs//2),outs,1)
from hourglass-facekeypoints-detection.
@ailias No, I didn't meet the problem. Did you set net.eval() before evaluation?
from hourglass-facekeypoints-detection.
@ailias ,I meet the same problem just like you. After finishing training, if I set the net to eval, then output of the net seems to be much more worse than the train mode:(
from hourglass-facekeypoints-detection.
I have met the same problem when training the hg model on MPII dataset.
I'm training on a Titan Xp GPU, Pytorch 0.4.1.
Changing hg.py, line 22-23
self.res2 = Residual(128, 128)
self.res3 = Residual(128, self._nFeats)
to
self.res2 = Residual(128, self._nFeats)
self.res3 = Residual(self._nFeats, self._nFeats)
solved my problem.
Hope it will help you too.
from hourglass-facekeypoints-detection.
When I trained hg model using 300w datasets, and the training result showed is good, but is worse when I use eval mode. Maybe it's because of the bn layer. Have you met this problem? What should I do for it?
Can you tell me how to run the code ?
python train.py
Traceback (most recent call last):
File "train.py", line 123, in
net = KFSGNet()
TypeError: new() received an invalid combination of arguments - got (float, int, int, int), but expected one of:
- (torch.device device)
- (torch.Storage storage)
- (Tensor other)
- (tuple of ints size, torch.device device)
- (object data, torch.device device)
Thank you very much .
Best wishes.
from hourglass-facekeypoints-detection.
请问能将训练集分享出来吗
from hourglass-facekeypoints-detection.
When I trained hg model using 300w datasets, and the training result showed is good, but is worse when I use eval mode. Maybe it's because of the bn layer. Have you met this problem? What should I do for it?
Can you tell me how to run the code ?
python train.py
Traceback (most recent call last):
File "train.py", line 123, in
net = KFSGNet()TypeError: new() received an invalid combination of arguments - got (float, int, int, int), but expected one of:
- (torch.device device)
- (torch.Storage storage)
- (Tensor other)
- (tuple of ints size, torch.device device)
- (object data, torch.device device)
Thank you very much .
Best wishes.
have you solve this problem?
from hourglass-facekeypoints-detection.
Related Issues (10)
- Could you please share pretrained model?
- 请教一个数据集的问题
- How to plot the heatmap picture in readme file? HOT 3
- 可以使用caffe训练吗
- Training loss is decreasing, but testing loss and MSE never change? HOT 5
- what's the meaning of heat_map_targets? HOT 1
- hi! can you tell me the fuction of v_max and v_min HOT 1
- 您好,请问如何训练自己的数据集?标注的人脸点数是68个需要修改哪些参数呢? HOT 1
- 您好 这个要怎么训练呢 我从kaggle上下载到的只有csv 是不需要图片吗 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 hourglass-facekeypoints-detection.