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

function:"validation_step" is not working when using --val_frac and --seed flag #27

Open
NiranjanChaudhari0929 opened this issue Dec 10, 2024 · 0 comments

Comments

@NiranjanChaudhari0929
Copy link
Collaborator

The function: " validation_step" present in clf.py at (

def validation_step(self, batch, batch_idx):
) does not run when --val_frac and --seed is used.

but,
The function "validation_step" works perfectly fine when we use --validation flag.

The flags are present at:
--val_frac:

grp.add_argument("--val_frac", type=float, default=None, help="Part of data to use for training (between 0 and 1)")

--seed:
parser.add_argument("--seed", type=int)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant