TypeError: meshgrid() got an unexpected keyword argument ‘indexing‘
训练yolox的时候遇到这个问题。解决方法原先代码yv,xv=torch.meshgrid([torch.arange(hsize),torch.arange(wsize)],indexing="ij")删除indexing="ij"即可yv,xv=torch.meshgrid([torch.arange(hsize),torch.arange(wsize)])