helloworld-S commited on
Commit
08958e6
·
verified ·
1 Parent(s): 59596ed

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -8
app.py CHANGED
@@ -35,14 +35,6 @@ from huggingface_hub import hf_hub_download
35
  dtype = torch.bfloat16
36
  device = "cuda"
37
 
38
- hf_hub_download(
39
- repo_id="facebook/sam2.1-hiera-large",
40
- local_dir="./checkpoints/",
41
- filename="sam2.1_hiera_large.pt",
42
- )
43
-
44
- os.environ["SAM2_MODEL_PATH"] = "./checkpoints/sam2.1_hiera_large.pt"
45
-
46
  config_path = "train/config/XVerse_config_demo.yaml"
47
 
48
  config = config_train = get_train_config(config_path)
 
35
  dtype = torch.bfloat16
36
  device = "cuda"
37
 
 
 
 
 
 
 
 
 
38
  config_path = "train/config/XVerse_config_demo.yaml"
39
 
40
  config = config_train = get_train_config(config_path)