Comments (5)
CONTRIQUE is primarily designed for feature extraction and these features are mapped to quality scores using a linear regressor. So for your custom dataset first step is to extract features for all your images as demonstrated in demo_score.py and train the linear regressor using these features using your ground-truth.
from contrique.
Thanks for the quick replying!How to generate csv files using custom dataset?
from contrique.
You don't need to generate csv files if your goal is to just train the linear regressor. However if you want to pretrain the whole encoder, csv files can be generated depending on the type of distortions you have in your custom dataset. For synthetic distortions the knowledge of distortion type and degradation level is transformed to a one-hot encoded vector and stored in a csv file similar to file_names_syn.csv. For cases where you have no knowledge about the distortions, each image is treated as a different class and there is no need of one-hot encoding as seen in file_names_ugc.csv
from contrique.
@pavancm Thanks for the explanations! An error occured when i run the matlab script 'generate_kadis700k.m' as below:
a-canal-boat-1538583_13_05.bmp
a-canal-boat-1538584_12_01.bmp
a-canal-boat-1538584_12_02.bmp
a-canal-boat-1538584_12_03.bmp
a-canal-boat-1538584_12_04.bmp
a-canal-boat-1538584_12_05.bmp
Undefined function or variable 'denoisingNetwork'.
Error in imdenoise (line 3)
net = denoisingNetwork('DnCNN');
Error in imdist_generator (line 51)
distort_I = imdenoise(im, levels(dist_level));
Error in generate_kadis700k (line 18)
[dist_im] = imdist_generator(ref_im, dist_type, dist_level);
from contrique.
It's the version support problem of Matlab, I 'll try a newer version of Matlab for network support.
from contrique.
Related Issues (20)
- How to train custom dataset HOT 1
- How to interpret score values? HOT 2
- Finetuning on another dataset HOT 1
- How to generate score.npy file HOT 3
- About score.pny HOT 1
- The difference between trainning from image-classification task pretrained model and training from the start HOT 2
- KADIS-700 link is not working HOT 2
- About MS-colorspace HOT 6
- The csv files are empty HOT 3
- Error when calculating features HOT 2
- [link time out error] HOT 1
- 岭回归 HOT 6
- About dist_label in train.py HOT 1
- How to generate feat.npy for the score regressor training? HOT 5
- [Recommendation] Recommendation to provide link of synthesized image distortion scripts. HOT 4
- [Recommendation] Recommendation to provide link of synthesized image distortion scripts.
- About distributed training HOT 4
- Nan loss occured in the second epoch HOT 2
- The link of KADIS-700k dataset is dead 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 contrique.