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

Updated dataset.py to work with torch 2.3.1 #1277

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

darrenchang
Copy link

Changes

  1. Updated dataset.py to work with torch 2.3.1
    _accumulate is no longer implemented in torch 2.3.1, therefore dataset.py must have it's own def _accumulate.
    This method is taken from torch 2.2.0 and implemented into dataset.py.
    _accumulate method: https://github.com/pytorch/pytorch/blob/8ac9b20d4b090c213799e81acf48a55ea8d437d6/torch/_utils.py#L497

  2. Implemented trainer.py for those who don't want to use jupiter notebook

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.

1 participant