Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak some default parameters #329

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions vamb/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1783,8 +1783,8 @@ def add_vae_arguments(subparser):
dest="beta",
metavar="",
type=float,
default=200.0,
help="beta, capacity to learn [200.0]",
default=500.0,
help="beta, capacity to learn [500.0]",
)
vaeos.add_argument(
"-d",
Expand All @@ -1805,8 +1805,8 @@ def add_vae_arguments(subparser):
dest="batchsize",
metavar="",
type=int,
default=256,
help="starting batch size [256]",
default=128,
help="starting batch size [128]",
)
trainos.add_argument(
"-q",
Expand Down
2 changes: 1 addition & 1 deletion vamb/encode.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def __init__(

# If only 1 sample, we weigh alpha and nhiddens differently
if alpha is None:
alpha = 0.15 if nsamples > 1 else 0.50
alpha = 0.25 if nsamples > 1 else 0.50

if nhiddens is None:
nhiddens = [512, 512] if nsamples > 1 else [256, 256]
Expand Down
Loading