Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NJU-PCALab/STAR
/ get_input
Method
get_input
cogvideox-based/sat/diffusion_video.py:166–167 ·
view source on GitHub ↗
(self, batch)
Source
from the content-addressed store, hash-verified
164
return
loss, loss_dict
165
166
def
get_input(self, batch):
167
return
batch[self.input_key].to(self.dtype)
168
169
@torch.no_grad()
170
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