agaldran / cost_sensitive_loss_classification Goto Github PK
View Code? Open in Web Editor NEWA straightforward mechanism to implement cost sensitive losses in pytorch
A straightforward mechanism to implement cost sensitive losses in pytorch
Hi
thank you for this git, it is handy and well-written!
I have a question about the final cost matrix you define - why would we want values different than 0 on the diagonal?
let's say we have 3 classes, why would the M_00, M_11, M_22 be different than 0? this is the correct classification loss...
I understand the concept of the averaging: M = 0.5 * M + 0.5 * (1-M_opht)
But after defining this matrix M, why shouldn't we set all the diagonals to zero?
thanks!
python train.py --csv_train train.csv --model_name resnext50 --base_loss gls --labmd 10 --exp 2 --save_path gls_reg_1e2_resnext50_exp2
Should be:
python train.py --csv_train train.csv --model_name resnext50 --base_loss gls --lambd 10 --exp 2 --save_path gls_reg_1e2_resnext50_exp2
when I run the script prepare_test_data.py
this line 18 occurs error
from utils.image_preprocessing import correct_illumination
can you please provide the script image_preprocessing.py which include the function correct_illumination?
thanks very much.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.