MotionBERT icon indicating copy to clipboard operation
MotionBERT copied to clipboard

A question for train_action.py

Open SoliveTech opened this issue 2 years ago • 1 comments

d82757739d8e58ba28ea82f652a4221 Thanks for your excellent work! In the picture from train_action.py, I find that the "idx" is got in the for loop. but after the loop The if statement calls the variable "idx " again. Why the "idx " can be called in here?

SoliveTech avatar Nov 03 '23 08:11 SoliveTech

Good catch! You can move it into the loop (pull request is welcomed if you want).

Walter0807 avatar Nov 03 '23 08:11 Walter0807