MCPcopy Index your code
hub / github.com/OpenDriveLab/ReSim / get_cond_inds

Function get_cond_inds

sat/sample_video.py:175–179  ·  view source on GitHub ↗
(n_cond, n_round=0)

Source from the content-addressed store, hash-verified

173# - if n_round = 1, cond_inds = [-3, -2, -1]
174
175def get_cond_inds(n_cond, n_round=0):
176 if n_round == 0:
177 return list(range(n_cond))
178 else:
179 return [-3, -2, -1]
180
181
182def set_seed(seed: int):

Callers 1

sampling_mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected