Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zhiyuan-R/Tiger-Diffusion
/ copy_source
Function
copy_source
utils/file_utils.py:23–24 ·
view source on GitHub ↗
(file, output_dir)
Source
from the content-addressed store, hash-verified
21
torch.cuda.set_device(opt.gpu)
22
23
def
copy_source(file, output_dir):
24
copyfile(file, os.path.join(output_dir, os.path.basename(file)))
25
26
27
Callers
2
main
Function · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
1
main
Function · 0.68