Add new weights
This commit is contained in:
parent
e6b20a7567
commit
74cdf27dd6
@ -22,6 +22,7 @@ classifiers = [
|
|||||||
"Programming Language :: Python :: Implementation :: CPython",
|
"Programming Language :: Python :: Implementation :: CPython",
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
"numpy<2.0.0",
|
||||||
"seisbench==0.5.*",
|
"seisbench==0.5.*",
|
||||||
"click"
|
"click"
|
||||||
]
|
]
|
||||||
|
@ -13,7 +13,7 @@ EPOS_AI_MODEL_REPOSIOTRY_URL = "https://models.isl.grid.cyfronet.pl/models/v3/"
|
|||||||
|
|
||||||
class PhaseNetModelRunner(ModelRunner):
|
class PhaseNetModelRunner(ModelRunner):
|
||||||
model_type = "PhaseNet"
|
model_type = "PhaseNet"
|
||||||
extra_weights = [("bogdanka", "1"), ("lgcd", "1"), ("bogdanka_lgcd", "1")]
|
extra_weights = [("bogdanka", "1"), ("lgcd", "1"), ("bogdanka_lgcd", "1"), ("sentinels", "1")]
|
||||||
|
|
||||||
def __init__(self, weights_name="original", output_dir=pathlib.Path("."), **kwargs):
|
def __init__(self, weights_name="original", output_dir=pathlib.Path("."), **kwargs):
|
||||||
self.model_name = getattr(sbm, PhaseNetModelRunner.model_type)
|
self.model_name = getattr(sbm, PhaseNetModelRunner.model_type)
|
||||||
|
Loading…
Reference in New Issue
Block a user