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,
I find a error in your agent.py file, that is " if temp[i]>0:" , under this condition "if temp[i] == 0:" will never occur, I "m not sure if I'm right?
for i in range(self.p.grid_y*self.p.grid_x): #make gt
temp = temp[temp>-1]
gt_one = deepcopy(temp)
if temp[i]>0:
gt_one[temp==temp[i]] = 1 #same instance
if temp[i] == 0:
gt_one[temp!=temp[i]] = 3 #different instance, different class
else:
gt_one[temp!=temp[i]] = 2 #different instance, same class
gt_one[temp==0] = 3 #different instance, different class
ground[batch_index][0][i] += gt_one
The text was updated successfully, but these errors were encountered:
hi,
I find a error in your agent.py file, that is " if temp[i]>0:" , under this condition "if temp[i] == 0:" will never occur, I "m not sure if I'm right?
The text was updated successfully, but these errors were encountered: