Comments (1)
At inference stage, you should only load the parameters of hyper network and shouldn't load target network parameters, i.e.
model_target.load_state_dict(torch.load(args.pretrained_model_name_target))
this line of code should be deleted. Since the parameters of the target network is generated from the hyper network adaptively, the code 'model_target = models.TargetNet(paras).cuda()' has already built a target network which has its own self-adaptive weight parameters.
Also, I noticed you have resized all the testing images to the size of 224x224, if you trained also with images resized to 224x224, it's OK, but if the training procedure follows the configuration in our origin code, i.e. randomly cropping 224x224 patches, it'll be better to use the same configuration to testing images, since scale consistency also influences model performance.
Hope this will help you : )
from hyperiqa.
Related Issues (20)
- Sometimes the score will be greater than 100? HOT 1
- 论文中提到的测试数据集BID在哪下? HOT 4
- Value changes every time HOT 1
- HyperNetWork is not being trained HOT 2
- .cpu可以改成.cuda吗
- stats.pearsonr Error? HOT 1
- Question about the performance of SOTA method. HOT 2
- GoogleDrive link for pre-trained model HOT 4
- Can you share the CSIQ database? HOT 2
- 关于PLCC的计算
- About the random split way of the dataset
- About resize in Koniq-10k dataset transforms
- MSU Video Quality Metrics Benchmark Invitation
- Evaluation of noise image quality
- The rationality of sample patches randomly.
- koniq-10k dataset
- coda question
- Can you share the GFIQA dataset?
- about data process
- HyperIQA resize
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 hyperiqa.