Closed dustinjoe closed 4 years ago
Hello,
cd /path/to/brevitas && pip install .
or cd /path/to/brevitas && pip install -e .
)? That function is generated during the installation and possibly (depending on the version of pytorch) dispatched to a binary backend.
Alessandro
Oh, thank you for your fast reply! I did not know it is a generated function~ I indeed just changed my Pytorch from CPU version to GPU version. Just removed and reinstalled Brevitas and it is working now. Thank you!
When I try to run the pretrained models of BNN using the command run into error shown as below: PYTORCH_JIT=1 brevitas_bnn_pynq_train --evaluate --network CNV_1W1A --pretrained
RuntimeError: object has no attribute round_ste: File "/home/xyzhou/anaconda3/lib/python3.7/site-packages/brevitas/function/ops_ste.py", line 68
Any suggestion on this? Thank you!