forked from epos-ai/epos-ai-picking-tools
		
	Add new PhaseNet weights
This commit is contained in:
		@@ -13,7 +13,7 @@ EPOS_AI_MODEL_REPOSIOTRY_URL = "https://models.isl.grid.cyfronet.pl/models/v3/"
 | 
			
		||||
 | 
			
		||||
class PhaseNetModelRunner(ModelRunner):
 | 
			
		||||
    model_type = "PhaseNet"
 | 
			
		||||
    extra_weights = [("bogdanka", "1"), ("lgcd", "1")]
 | 
			
		||||
    extra_weights = [("bogdanka", "1"), ("lgcd", "1"), ("bogdanka_lgcd", "1")]
 | 
			
		||||
 | 
			
		||||
    def __init__(self, weights_name="original", output_dir=pathlib.Path("."), **kwargs):
 | 
			
		||||
        self.model_name = getattr(sbm, PhaseNetModelRunner.model_type)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user