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
parser.add_argument("--data-type", type=str, default="image", choices=["image", "video"], help="Type of data.")
127
83
128
84
known_args=parser.parse_known_args()[0]
129
85
ifknown_args.data_type=="video":
130
-
parser.add_argument(
131
-
"--valid-frame-start",
132
-
type=int,
133
-
default=0,
134
-
help="Valid start index of the frame in each gt video. Defaults to 1, it will skip the first frame. If it is set to None, the code will not skip frames.",
135
-
)
136
-
parser.add_argument(
137
-
"--valid-frame-end",
138
-
type=int,
139
-
default=0,
140
-
help="Valid end index of the frame in each gt video. Defaults to -1, it will skip the last frame. If it is set to 0, the code will not skip frames.",
141
-
)
142
-
86
+
parser.add_argument("--valid-frame-start", type=int, default=0, help="Valid start index of the frame in each gt video. Defaults to 1, it will skip the first frame. If it is set to None, the code will not skip frames.")
87
+
parser.add_argument("--valid-frame-end", type=int, default=0, help="Valid end index of the frame in each gt video. Defaults to -1, it will skip the last frame. If it is set to 0, the code will not skip frames.")
0 commit comments