CoinCheung / pytorch-loss

label-smooth, amsoftmax, partial-fc, focal-loss, triplet-loss, lovasz-softmax. Maybe useful
MIT License
2.18k stars 373 forks source link

install fail;error: expected a ")" #42

Open ah5735 opened 1 day ago

ah5735 commented 1 day ago

heyyy bro!when i install ,it always says

C:\zyh\code\code\pytorch-loss\csrc\focal_kernel.cu(268): error: expected a ")"

C:\zyh\code\code\pytorch-loss\csrc\focal_kernel.cu(268): error: expected a ")"

C:\zyh\code\code\pytorch-loss\csrc\focal_kernel.cu(268): error: expected a ")"

did anyone have this problem,i want some advice

ah5735 commented 1 day ago

btw its cuda118 pytrorch2.4.1