Xilinx / Vitis-AI-Tutorials

MIT License
358 stars 144 forks source link

pytorch flow VAIQ_ERROR #61

Open hzeng2000 opened 2 years ago

hzeng2000 commented 2 years ago

i was dong the Quantize part in pytorch flow, with torch==1.7 (my prj required) vitis-ai ==1.4 and come across the error error info here: [VAIQ_ERROR]: /opt/vitis_ai/conda/envs/vitis-ai-pytorch/lib/python3.6/site-packages/pytorch_nndct/nn/_kernels.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN6caffe28TypeMeta21_typeMetaDataInstanceIN3c108BFloat16EEEPKNS_6detail12TypeMetaDataEv

i have tried to import pytorch_nndct before torch, but it did not work. did anyone have the same problem, and could someone help to solve? thanks!

bhargavin1872008 commented 1 year ago

when running the requirements.txt of keras-yolov3-modelset -i 'm getting error for coremltools.it is showing like "couldn't find a version that satisfies the requirement tensorflow<=1.14 and tensorflow >=1.5(from tfcoremltools -r requirements.txt).(from version :2.2.0,2.2..1, 2.2.2, ...2.7.0rc0,2.7.0.rc1............) like this .can someone help me regarding this. Also ,i have a doubt .can we use ubuntu 20.04 ,cuda 11.7 ,cudnn 8.4.0 for this project. or have to use ubuntu 18.04,cuda 10.0 only which only works.please help me regarding this,i have less time in my hand.