Accelergy-Project / timeloop-accelergy-tutorial

Docker container with tools for the Timeloop/Accelergy tutorial
http://accelergy.mit.edu/tutorial.html
MIT License
23 stars 11 forks source link

Key not found error #3

Closed TravisDai closed 3 years ago

TravisDai commented 3 years ago

Hi, I am using docker to run the timeloop & accelergy in the diretory "/exercises/timeloop+accelergy" and when I am using the command (timeloop-mapper arch/eyeriss_like-int16.arch.yaml \ arch/components/.yaml \ prob/prob.yaml \ mapper/mapper.yaml \ constraints/.yaml), I got the following errors:

Problem configuration complete. ERROR: key not found: arithmetic, at line: 0

Do you know what seems to be the problem?

Thanks. Travis

nellie-wu commented 3 years ago

Unfortunately, I cannot reproduce the error you have with the same setup (with *.yaml as the last part of the paths for components and constraints). Please see below a screenshot of the output on my end. capture If you are able to run the other exercises successfully, this example should not have an issue.

nivi1501 commented 3 years ago

I am facing the same issue. @TravisDai how did you resolve it?

nellie-wu commented 3 years ago

Thanks for bringing up this issue.

I think this is probably due to a typo in the readme, instead of arch/eyeriss_like-int16.arch.yaml, please try arch/eyeriss_like-int16.yaml.

You can also do ls arch/ to see the files names in the arch folder.

We have updated the readme as well.