Skip to content

Conversation

@malfet
Copy link

@malfet malfet commented Apr 14, 2023

It was removed in torch-2.0.0

Replace import of string_classes with simple [str, bytes] list

Hopefully this will make project compatible with torch-2.X

It was removed in torch-2.0.0

Replace import of `string_classes` with simple `[str, bytes]` list
@Bovey0809
Copy link

Thanks for the solution.

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