pyramid-super-resolution's People
Forkers
mohammadreza-dz yuanshuaihuang neilfawkes gonepiao lupo1995 jiangyuewu jin-snow-acryl hugo-acryl mahsaaaa74pyramid-super-resolution's Issues
The calculation of weighted accurary
Thanks for your contribution to the community! As shown in paperwithcode.com, the unweighted accuracy is calculated by (#corrected predictions)/(#total instances), about 80.78% for RAF-DB in your paper. But the calculation method of accuracy or weighted accuracy (about 88.98% for RAF-DB in your paper) seems not clear in the paper or in the codes. The weighted vector for the weighted accuracy is also not clear in the other related papers. I thought it was calculated by taking average over the accuracy of each expression class, but the accuracy obtained from such a calcuation is often smaller than the unweighted accuracy in the experiments. Could you please tell us how the the weighted vector for the weighted accuracy is calculated in the expriment? Looking forward to your reply. Thanks again!
ferplus-vgg16-3size.json is missing
in your markdown ,ferplus-vgg16-3size.json is missing , could you give me a copy?
Please I got the below error when running the line : python -m prlab.cli k_fold --json_conf config/raf-db.json
Inference and loading pretrained model problems
Hello.
Thanks for your code. I've wanted to make py-script to infer your model instead of prlab.cli launches you've provided. So, I've simply wanted to load pre-trained weights to the model. If i got it right, I'm need to use model PyramidSRShare
, but the model consists of several sub-networks like stn, classifier, pyramid_groups. You've provided edsr_baseline_x2-1bc95232.pt
pre-trained file, which i've tried to load like in load_weights
for idx in range(len(self.multiples)):
xn_name = 'weight_path_x{}'.format(self.multiples[idx])
if self.config.get(xn_name, None) is not None:
out = self.pyramid_group[idx].load_state_dict(torch.load(self.config[xn_name]), strict=True)
print('load weights for {}'.format(xn_name), out)
As i understand, this x2 file should be loaded to pyramid_group[1] which was created
pyramid_group.append(self.make_layer_pyramid(mul, input_spec))
using mul = 2. But when i'm trying to load the weights, i'm getting "Unexpected keys" and "Missing keys" error. So, probably, i'\m doing something wrong.
Moreover, even if I'll be able to load properly weights to pyramid_group[1] there are still stn, classifier and other pyramid_group[0,2] which won't be initialized with pretrained weights. So, should there be some other pre-trained weights too?
Metadata file
Could you share a copy of the metadata file created for Raf-db dataset?
Or provide more details on column 5 i.e. is_test. Is this value set to False for all images?
你好!关于ferplus数据集,我想请问下您是用train+val来训练,用test测试么?
Face Error
Please I got the below error when running on colab the line : python -m prlab.cli k_fold --json_conf config/raf-db.json , I downgraded fast ai and pytorch version and still not working please advise.
Error:
File "", line 1
python -m prlab.cli k_fold --json_conf config/raf-db.json
^
SyntaxError: invalid syntax
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.