Skip to content

Windows support for T2V scripts #48

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

Merged
merged 2 commits into from
Oct 20, 2024
Merged

Windows support for T2V scripts #48

merged 2 commits into from
Oct 20, 2024

Conversation

a-r-r-o-w
Copy link
Member

@Nojahhh Would you mind giving this a review? You've already fixed the dataset side of things with lambda pickling error, and this PR replaces the inline collate_fn with a class instance as per your PR #32 in the remaining scripts

@a-r-r-o-w a-r-r-o-w requested a review from sayakpaul October 18, 2024 23:07
Copy link
Member

@sayakpaul sayakpaul left a comment

Choose a reason for hiding this comment

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

Looks minimal .

@@ -199,6 +198,26 @@ def log_validation(
return videos


class CollateFunction:
Copy link
Member

Choose a reason for hiding this comment

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

Mind explaining the change?

Copy link
Contributor

Choose a reason for hiding this comment

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

Inline function raised an error with pickle in windows, moving collate function to a class instances solves the issue.

@Nojahhh
Copy link
Contributor

Nojahhh commented Oct 19, 2024

@a-r-r-o-w I think it looks good. Will try it out and report back if I encounter any errors.

Copy link
Contributor

@Nojahhh Nojahhh left a comment

Choose a reason for hiding this comment

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

All three training methods have been tested and work as intended.

@a-r-r-o-w
Copy link
Member Author

Thanks for all your help @Nojahhh!

@a-r-r-o-w a-r-r-o-w merged commit db9b295 into main Oct 20, 2024
@a-r-r-o-w a-r-r-o-w deleted the windows-support branch October 20, 2024 21:10
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.

3 participants