You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, similar thing happens when I call m = nn.Upsample(scale_factor=2, mode='bilinear')
AttributeError: 'module' object has no attribute 'Upsample'
But I can successfully call nn.UpsamplingBilinear2d.
Besides, is there any plan to implement the Cubic Upsample~
jjsjann123
pushed a commit
to jjsjann123/pytorch
that referenced
this issue
Nov 5, 2021
Calling
results in:
even with
Related PR that added introduced TripletMarginLoss: #1165
Work-around for now is to use
F.triplet_margin_loss
directly, whereF
isimport torch.nn.functional as F
.The text was updated successfully, but these errors were encountered: