Spaces:
				
			
			
	
			
			
		Running
		
			on 
			
			Zero
	
	
	
			
			
	
	
	
	
		
		
		Running
		
			on 
			
			Zero
	update
Browse files
    	
        pre-requirements.txt
    CHANGED
    
    | @@ -2,7 +2,7 @@ | |
| 2 | 
             
            --extra-index-url https://data.dgl.ai/wheels/torch-2.1/cu121/repo.html
         | 
| 3 | 
             
            torch==2.2.0
         | 
| 4 | 
             
            torchvision==0.17.0
         | 
| 5 | 
            -
            dgl
         | 
| 6 | 
             
            accelerate
         | 
| 7 | 
             
            beartype
         | 
| 8 | 
             
            einops
         | 
|  | |
| 2 | 
             
            --extra-index-url https://data.dgl.ai/wheels/torch-2.1/cu121/repo.html
         | 
| 3 | 
             
            torch==2.2.0
         | 
| 4 | 
             
            torchvision==0.17.0
         | 
| 5 | 
            +
            dgl==2.4.0
         | 
| 6 | 
             
            accelerate
         | 
| 7 | 
             
            beartype
         | 
| 8 | 
             
            einops
         | 
    	
        primitive_anything/michelangelo/__init__.py
    CHANGED
    
    | @@ -13,7 +13,7 @@ def load_model(): | |
| 13 | 
             
                # print(model_config)
         | 
| 14 | 
             
                if hasattr(model_config, "model"):
         | 
| 15 | 
             
                    model_config = model_config.model
         | 
| 16 | 
            -
                ckpt_path = "./ckpt/shapevae-256.ckpt"
         | 
| 17 |  | 
| 18 | 
             
                model = instantiate_from_config(model_config, ckpt_path=ckpt_path)
         | 
| 19 | 
             
                # model = model.cuda()
         | 
|  | |
| 13 | 
             
                # print(model_config)
         | 
| 14 | 
             
                if hasattr(model_config, "model"):
         | 
| 15 | 
             
                    model_config = model_config.model
         | 
| 16 | 
            +
                ckpt_path = "./ckpt/checkpoints/aligned_shape_latents/shapevae-256.ckpt"
         | 
| 17 |  | 
| 18 | 
             
                model = instantiate_from_config(model_config, ckpt_path=ckpt_path)
         | 
| 19 | 
             
                # model = model.cuda()
         |