Comments (1)
Hello,
Indeed, the loss does not expect a one-hot label encoding, but simply the integer labels that are expected. See this line for the expected inputs.
You may change your data loader to provide integer labelled images, or convert one-hot to integer with e.g. argmax, altough that would be some waste of computation.
from lovaszsoftmax.
Related Issues (20)
- whats the difference with dice ? HOT 1
- How to improve the effect of the model? HOT 1
- Implementation of equibatch? HOT 4
- Got a very low MIoU after simply swapping out the cross entropy loss for "lovasz_softmax" HOT 5
- mIOU decreasing as the Lovasz Hinge Loss decreases HOT 1
- Memory requirement in TF HOT 2
- Loss function selection problem
- Tensorflow implemention is different from the pytorch version HOT 1
- Raise error when training xception+deeplabv3p with SGD
- Lovasz softmax with 1 class and small batch does not learn HOT 4
- lovasz_hinge as loss function Error HOT 1
- Gradients problem HOT 3
- weird results
- multi classes with lovasz_hinge
- how to combine lovasz hinge and bce in binary segmentaion task appropriately? HOT 1
- ModuleNotFoundError: No module named 'lovasz'
- How to understand the lovasz_grad when gt_sorted class number>1?
- How to visualize the given surface?
- train my data
- train my data 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 lovaszsoftmax.