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

Fixed list type casting bug #28

Merged
merged 2 commits into from
Jan 8, 2023
Merged

Fixed list type casting bug #28

merged 2 commits into from
Jan 8, 2023

Conversation

sandstorm12
Copy link
Contributor

Running this line from the example:

from video_transformers.trainer import trainer_factory

results in this error:

TypeError: 'type' object is not subscribable

The problems is that list is used instead of 'typing.List' in the type hinting. Fixed it in this fork.

@fcakyon
Copy link
Owner

fcakyon commented Dec 31, 2022

@sandstorm12 thank you for the PR!

Can you please reformat your code as given in readme and push again? https://github.com/fcakyon/video-transformers#contributing

@sandstorm12
Copy link
Contributor Author

@fcakyon Thank you. I have applied the formatter. Please review the PR again.

@fcakyon fcakyon merged commit 6b69b5e into fcakyon:main Jan 8, 2023
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.

2 participants