xinyuanc91 commited on
Commit
62ed889
β€’
1 Parent(s): b2b3a96

Update image_to_video/__init__.py

Browse files
Files changed (1) hide show
  1. image_to_video/__init__.py +2 -3
image_to_video/__init__.py CHANGED
@@ -6,7 +6,7 @@ try:
6
  import utils
7
 
8
  from diffusion import create_diffusion
9
- from download import find_model
10
  except:
11
  # sys.path.append(os.getcwd())
12
  sys.path.append(os.path.split(sys.path[0])[0])
@@ -17,7 +17,6 @@ except:
17
  import utils
18
 
19
  from diffusion import create_diffusion
20
- from download import find_model
21
 
22
  import torch
23
  torch.backends.cuda.matmul.allow_tf32 = True
@@ -40,7 +39,7 @@ from utils import mask_generation_before
40
  from natsort import natsorted
41
  from diffusers.utils.import_utils import is_xformers_available
42
 
43
- config_path = "/mnt/petrelfs/zhouyan/project/i2v/configs/sample_i2v.yaml"
44
  args = OmegaConf.load(config_path)
45
  device = "cuda" if torch.cuda.is_available() else "cpu"
46
  print(args)
 
6
  import utils
7
 
8
  from diffusion import create_diffusion
9
+
10
  except:
11
  # sys.path.append(os.getcwd())
12
  sys.path.append(os.path.split(sys.path[0])[0])
 
17
  import utils
18
 
19
  from diffusion import create_diffusion
 
20
 
21
  import torch
22
  torch.backends.cuda.matmul.allow_tf32 = True
 
39
  from natsort import natsorted
40
  from diffusers.utils.import_utils import is_xformers_available
41
 
42
+ config_path = "configs/sample_i2v.yaml"
43
  args = OmegaConf.load(config_path)
44
  device = "cuda" if torch.cuda.is_available() else "cpu"
45
  print(args)