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

I mesure the speed in my device #14

Open
ChengTsang opened this issue Mar 25, 2019 · 4 comments
Open

I mesure the speed in my device #14

ChengTsang opened this issue Mar 25, 2019 · 4 comments

Comments

@ChengTsang
Copy link

I mesure the speed in my device, and I retrain it on the new speed.txt file.
But a mistake appeared:
Traceback (most recent call last):
File "/workspace/fbnet-pytorch/train_cifar10.py", line 105, in
speed_f=config.speed_f)
File "/workspace/fbnet-pytorch/model.py", line 84, in init
self._speed = torch.tensor(self._speed, requires_grad=False)
ValueError: expected sequence of length 8 at dim 1 (got 9)

what should I do?

JunrQ added a commit that referenced this issue Mar 25, 2019
JunrQ added a commit that referenced this issue Mar 25, 2019
@JunrQ
Copy link
Owner

JunrQ commented Mar 25, 2019

Hi,@ChengTsang
I update code in file model.py, hope to help

@ChengTsang
Copy link
Author

It helps a lot, thanks. I have an other question that which device did you test on? I see that the numbers of time table in your speed.txt is really big, but in my computer , it is really small, about 0.0002. whether you test it on the mobile phone just like the original paper ?

@JunrQ
Copy link
Owner

JunrQ commented Mar 25, 2019

I test it on cpu

@ChengTsang
Copy link
Author

ok

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

2 participants