Views
No views yet

1pip install -e git+https://github.com/see2sound/see2sound.git#egg=see2sound
2git clone https://huggingface.co/rishitdagli/see-2-sound
3cd see-2-soundconfig.yaml:1codi_encoder: 'codi/codi_encoder.pth'
2codi_text: 'codi/codi_text.pth'
3codi_audio: 'codi/codi_audio.pth'
4codi_video: 'codi/codi_video.pth'
5
6sam: 'sam/sam.pth'
7# H, L or B in decreasing performance
8sam_size: 'H'
9
10depth: '/depth/depth.pth'
11# L, B, or S in decreasing performance
12depth_size: 'L'
13
14download: False
15
16# Change to True if your GPU has < 40 GB vRAM
17low_mem: False
18fp16: False
19gpu: True
20steps: 500
21num_audios: 3
22prompt: ''
23verbose: True1import see2sound
2
3
4config_file_path = "config.yaml"
5
6model = see2sound.See2Sound(config_path = config_file_path)
7model.setup()
8model.run(path = "test.png", output_path = "test.wav")