solved it box_a = np.random.randn(1,4) box_b = np.random.randn(1,4) max_xy = np.broadcast_to(np.expand_dims(box_a[:, 2:],axis=1),(1,1,2)). ... <看更多>
Search
Search
solved it box_a = np.random.randn(1,4) box_b = np.random.randn(1,4) max_xy = np.broadcast_to(np.expand_dims(box_a[:, 2:],axis=1),(1,1,2)). ... <看更多>
torch.rand(2).expand(-1, 3) #RuntimeError: The expanded size of the tensor (3) must match the existing size (2) at non-singleton dimension 1 ... ... <看更多>