nngen icon indicating copy to clipboard operation
nngen copied to clipboard

#verify : FAILED

Open chen-yu-quan opened this issue 3 years ago • 4 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

chen-yu-quan avatar Jan 09 '22 06:01 chen-yu-quan

thanks for looking , I already solve

chen-yu-quan avatar Jan 10 '22 07:01 chen-yu-quan

May I knw how you solve?

hanyong97 avatar Jan 25 '22 05:01 hanyong97

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 avatar Jan 25 '22 06:01 chen-yu-quan

@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|" {} +

cbalint13 avatar Apr 17 '22 19:04 cbalint13