pytorch-loss icon indicating copy to clipboard operation
pytorch-loss copied to clipboard

label-smooth, amsoftmax, partial-fc, focal-loss, triplet-loss, lovasz-softmax. Maybe useful

Results 6 pytorch-loss issues
Sort by recently updated
recently updated
newest added

您好,如果我想在我的uc文件里修改这个函数,需要修改哪里呀

Ever considered implementing class balanced loss? I found your repo useful and would like to see it include more. https://github.com/vandit15/Class-balanced-loss-pytorch

'lb_neg' should be "lb_smooth/(numclass -1)" instead of " lb_smooth/numclass" .

Hi, I am trying to run Taylor Softmax. (0) I run the ` python3 setup.py install` and get: ``` root@7c09a3f30c39:/home/keras/notebook/nvme_raid/aveysov/pytorch-loss# python3 setup.py install running install running bdist_egg running egg_info creating...

I use triple loss between data of two modalities to reduce the distance between different modalities of the same class and increase the distance between different modalities of different class....

``` /usr/local/cuda/bin/nvcc -I/home/m/.local/lib/python3.7/site-packages/torch/include -I/home/m/.local/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/m/.local/lib/python3.7/site-packages/torch/include/TH -I/home/m/.local/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda/include -I/usr/include/python3.7m -c csrc/focal_kernel.cu -o build/temp.linux-x86_64-3.7/csrc/focal_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=focal_cpp -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=sm_52 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14 /home/m/.local/lib/python3.7/site-packages/torch/include/c10/core/SymInt.h(84):...