Giter Site home page Giter Site logo

Comments (5)

pavancm avatar pavancm commented on August 27, 2024

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.

CaptainEven avatar CaptainEven commented on August 27, 2024

Thanks for the quick replying!How to generate csv files using custom dataset?

from contrique.

pavancm avatar pavancm commented on August 27, 2024

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.

CaptainEven avatar CaptainEven commented on August 27, 2024

@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.

CaptainEven avatar CaptainEven commented on August 27, 2024

It's the version support problem of Matlab, I 'll try a newer version of Matlab for network support.

from contrique.

Related Issues (20)

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.