-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update phasenet phasenet_plus training
- Loading branch information
Showing
10 changed files
with
291 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from .autoencoder import * | ||
from .eqnet import * | ||
from .phasenet import * | ||
from .phasenet_das import * | ||
from .autoencoder import * | ||
from .phasenet_plus import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from .phasenet import PhaseNet | ||
|
||
|
||
def build_model( | ||
backbone="unet", | ||
log_scale=True, | ||
add_polarity=True, | ||
add_event=True, | ||
event_loss_weight=1.0, | ||
polarity_loss_weight=1.0, | ||
*args, | ||
**kwargs, | ||
) -> PhaseNet: | ||
return PhaseNet( | ||
backbone=backbone, | ||
log_scale=log_scale, | ||
add_event=add_event, | ||
add_polarity=add_polarity, | ||
event_loss_weight=event_loss_weight, | ||
polarity_loss_weight=polarity_loss_weight, | ||
) |
Oops, something went wrong.