Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ get_input
Method
get_input
sat/diffusion_video.py:189–190 ·
view source on GitHub ↗
(self, batch)
Source
from the content-addressed store, hash-verified
187
return
loss, loss_dict
188
189
def
get_input(self, batch):
190
return
batch[self.input_key].to(self.dtype)
191
192
@torch.no_grad()
193
def
decode_first_stage(self, z):
Callers
2
shared_step
Method · 0.95
log_video
Method · 0.95
Calls
1
to
Method · 0.80
Tested by
no test coverage detected