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

[Easy fix] OFA Tutorial On colab #81

Open
IHIaadj opened this issue May 30, 2023 · 0 comments
Open

[Easy fix] OFA Tutorial On colab #81

IHIaadj opened this issue May 30, 2023 · 0 comments

Comments

@IHIaadj
Copy link

IHIaadj commented May 30, 2023

Good evening!

With the current torch version, torch._six does not exist anymore.
A workaround would be to directly set, in utils/my_data_loader.py:
replace from torch._six import string_classes by string_classes = str

Loading the LatencyTable also seems to generate an error due to an updated yaml package.
I modified: yaml.load(fp) to yaml.full_load(fp) in latency_table.py

I am also curious if you're interested in including more hardware platforms in your list. I trained and searched OFA results on Raspberry Pi and Redmi Note 7S.

Best,

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

No branches or pull requests

1 participant