NNgen / nngen

NNgen: A Fully-Customizable Hardware Synthesis Compiler for Deep Neural Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#verify : FAILED

chen-yu-quan opened this issue · comments

I just ran the hello_nngen.py then something was happen

It shows
#verify: FAILED

the only thing i know is the matching problem . The data in memory is mismatch with the computed data
but how can I check or solve this

Thanks for doing me a favor

thanks for looking , I already solve

May I knw how you solve?

Because of the address . When it is comimg to the verification, you have to check address of the data which is the same as the address of the verified data

@chen-yu-quan , @hanyong97

# fix some tests
find {tests,examples} -name '*.py' -exec \
  sed -i "s|verify_rslt == '# verify: PASSED'|'# verify: PASSED' in rslt|g" {} +
find {tests,examples} -name '*.py' -exec \
  sed -i "s|expected_rslt == rslt|expected_rslt in rslt|" {} +