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

feat: Cache Prepared Data and implement Dataset class #8

Merged
merged 14 commits into from
Oct 24, 2022
Merged

Conversation

tsunrise
Copy link
Owner

@tsunrise tsunrise commented Oct 22, 2022

Closes: #4

  • Add scripts to prepare data and save to cache
    image
  • Run those scripts and host prepared data on the web
  • Add logic to download prepared data from the web
  • Implement Dataset class to abstract the logic

Demo Commands:

  • Train:
python .\main.py --n_files 50 --n_epochs 200
  • predict:
python .\predict_stream.py --load_checkpoint .project_data\snapshots\<your trained model>

@tsunrise tsunrise self-assigned this Oct 22, 2022
@tsunrise tsunrise changed the title [WIP] feat: Cache Prepared Data and implement Dataset class feat: Cache Prepared Data and implement Dataset class Oct 23, 2022
This was referenced Oct 24, 2022
Copy link
Collaborator

@violetyao violetyao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you so much!

Copy link
Collaborator

@YixinLiu030 YixinLiu030 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and thank you!

@tsunrise tsunrise merged commit 6432fc2 into main Oct 24, 2022
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

Successfully merging this pull request may close these issues.

Cache preprocessed numpy array, implement Dataset, and use DataLoader
3 participants