Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Added two features to HParams#20

Open
wrongu wants to merge 2 commits intofacebookresearch:mainfrom
wrongu:hparams-features
Open

Added two features to HParams#20
wrongu wants to merge 2 commits intofacebookresearch:mainfrom
wrongu:hparams-features

Conversation

@wrongu
Copy link

@wrongu wrongu commented Aug 30, 2022

  1. create_from_dict which mirrors create_from_args. This makes it easier to restore hparams from strings saved in a log file without using CLI.
  2. In DatasetHParams, added subset_start, subset_end, and subset_stride for slicing out subsets of data.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants