PyTorch Forums
AttributeError: module 'torch.nn' has no attribute 'BCEloss'
ptrblck
October 25, 2018, 7:02am
2
It seems the
l
is lowercase in your example. Try
nn.BCELoss
with an uppercase L.
show post in topic