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
sampler should be an instance of torch.utils.data.Sampler, but got sampler=<samplers.RandomIdentitySampler object at 0x0000026A98DCB0F0>
我的怎么报这个错误。怎么回事呢?弄了好久没解决,向你请教一下,谢谢啦
sampler should be an instance of torch.utils.data.Sampler, but got sampler=<samplers.RandomIdentitySampler object at 0x0000026A98DCB0F0>
我的怎么报这个错误。怎么回事呢?弄了好久没解决,向你请教一下,谢谢啦
我也遇到了相同的问题,我是这样解决的:在samplers.py 文件加入 from torch.utils.data.sampler import Sampler,让RandomIdentitySampler类继承Sampler
把代码修改了在python3.5上跑,基础模型rank-1不超过50%?
The text was updated successfully, but these errors were encountered: