Comments (8)
hello do you know the role of exp_id in the code ?
from cnniqa.
@RainFZY Read the Readme.md
and use --help
for these two *.py
files to get help.
Just set --model_file
, for example, python test_demo.py --im_path=data/I03_01_1.bmp --model_file=your/model/path
.
It is the same in test_cross_dataset.py
.
from cnniqa.
@salmora See #21 .
from cnniqa.
@RainFZY Read the
Readme.md
and use--help
for these two*.py
files to get help.Just set
--model_file
, for example,python test_demo.py --im_path=data/I03_01_1.bmp --model_file=your/model/path
.
It is the same intest_cross_dataset.py
.
I mean how to create the model file itself. For example if i use CNN, then i have to create a model file CNNIQA-LIVE, which you already offered. But if I want switch to my own model, how can I get those model files? In other words, I know how to use them but i just have no idea how can I get them? Thanks a lot
from cnniqa.
@RainFZY Read the
Readme.md
and use--help
for these two*.py
files to get help.Just set
--model_file
, for example,python test_demo.py --im_path=data/I03_01_1.bmp --model_file=your/model/path
.
It is the same intest_cross_dataset.py
.
model --> model file
CNN --> CNN-LIVE
other model --> ???
The ??? is what I need, i hope i can express my questions clearly this time.
from cnniqa.
@RainFZY I didn't get what you mean.
I suggest you read the whole repo again.
Based on your further comments, here I give more comments.
You said you have already run the training file main.py
, so you would have get your trained model (line 174 in main.py
saves the model with best val performance), which is named used the string trained_model_file = 'checkpoints/{}-{}-EXP{}-lr={}'.format(args.model, args.database, args.exp_id, args.lr)
, you can just rename the final model with a simple name, such as CNNIQA-[your_dataset_name]. Then you can use this final model in the test phase (Make sure you will not test the training images, since it does not make sense.).
from cnniqa.
I think in test_cross_dataset.py , they use another database just to see the performance of the modele , and in the paper they use TID2008 , you have to read the paper ,it describes this part.
from cnniqa.
@RainFZY I didn't get what you mean.
I suggest you read the whole repo again.Based on your further comments, here I give more comments.
You said you have already run the training filemain.py
, so you would have get your trained model (line 174 inmain.py
saves the model with best val performance), which is named used the stringtrained_model_file = 'checkpoints/{}-{}-EXP{}-lr={}'.format(args.model, args.database, args.exp_id, args.lr)
, you can just rename the final model with a simple name, such as CNNIQA-[your_dataset_name]. Then you can use this final model in the test phase (Make sure you will not test the training images, since it does not make sense.).
Thanks a lot, my problem is solved.
from cnniqa.
Related Issues (20)
- Output value range HOT 1
- Result HOT 3
- Failed to save model graph HOT 2
- 请问可以把制作.mat的MATLAB代码上传一下嘛? HOT 4
- Pytorch Lightning as a backend HOT 1
- 代码很棒,请问什么时候有pytorch1.0版本呢 HOT 2
- 关于数据集有一些问题请教您。 HOT 8
- 计算srocc前进行线性映射 HOT 2
- 您好,很棒的代码,请教下大佬跨数据集的问题。 HOT 7
- problem caused by dataset changing HOT 6
- 我是一个完全的新手 HOT 3
- 请教您一个数据集读取的问题 HOT 1
- 您好!为什么您提供的CSIQ数据集mat文件只有750张图片啊? HOT 1
- what's the output of test_demo.py means? HOT 3
- couldn't not open shared event
- Error: `ModuleNotFoundError: No module named 'ignite.engine'` HOT 1
- MSU Video Quality Metrics Benchmark Invitation
- 数据集下载 HOT 1
- TID2013fullinfo.mat 数据里index数组的意义 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 cnniqa.