Coder Social home page Coder Social logo

fiiqa-pytorch's People

Contributors

yangyuke001 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fiiqa-pytorch's Issues

Illumination transfer

Hi, there is the scripts for illumination transfer? I want to generate training data by myself.

关于模型质量分数

你好,请问是不是模型预测出的分数越高,表示这个图片质量越好?还有图片标签从0-199,是不是表示图片从欠曝-->过曝-->正常???

RuntimeError: Error(s) in loading state_dict for ShuffleNetV2:

[root@e31325cc657e FIIQA-PyTorch]# python3 test.py
Traceback (most recent call last):
File "test.py", line 48, in
net.load_state_dict(checkpoint['net'])
File "/usr/local/lib64/python3.6/site-packages/torch/nn/modules/module.py", line 1045, in load_state_dict
self.class.name, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for ShuffleNetV2:
size mismatch for classifier.0.weight: copying a param with shape torch.Size([200, 1024]) from checkpoint, the shape in current model is torch.Size([160, 1024]).
size mismatch for classifier.0.bias: copying a param with shape torch.Size([200]) from checkpoint, the shape in current model is torch.Size([160]).

pytorch转caffe的问题

你好,我请教一下,test_convert_to_caffe这个目录下的文件是用来实现pytorch转caffe的吗?
我运行python shufflenetv2_to_caffe.py的时候报错(python3.6.10)

Traceback (most recent call last):
  File "shufflenetv2_to_caffe.py", line 16, in <module>
    import converter
ModuleNotFoundError: No module named 'converter'

pip install converter安装converter后,出现交互式提示:

 This is the metric converter 
What would you like to convert ?
You can either convert a measurement, weight or volume 
>

这里我应该怎么选择?

Can the input image be a grayscale image

I use the code to do my validation. I want to evaluate the illumination quality of face images in Yaleb DATABASE. The bug is
Traceback (most recent call last):
File "/home/./桌面/FIIQA-PyTorch-master/test2.py", line 65, in
imgblob = dataTransforms(face).unsqueeze(0)
File "/home/./anaconda3/envs/pytorch/lib/python3.7/site-packages/torchvision/transforms/transforms.py", line 67, in call
img = t(img)
File "/home/./anaconda3/envs/pytorch/lib/python3.7/site-packages/torch/nn/modules/module.py", line 727, in call_impl
result = self.forward(*input, **kwargs)
File "/home/./anaconda3/envs/pytorch/lib/python3.7/site-packages/torchvision/transforms/transforms.py", line 226, in forward
return F.normalize(tensor, self.mean, self.std, self.inplace)
File "/home/./anaconda3/envs/pytorch/lib/python3.7/site-packages/torchvision/transforms/functional.py", line 284, in normalize
tensor.sub
(mean).div_(std)
RuntimeError: output with shape [1, 228, 200] doesn't match the broadcast shape [3, 228, 200]

Do you have any solutions ? thanks.

The loss remains high and the accuracy is very low

Hi,
I started training from scratch without using the pre_trained model 97_160_2.pth
My training results were poor
image

I use FIIQALoss(),and optimizer is AdaBound.
Even if I loaded the pre_trained model, I didn't get better results, why?
Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.