Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

link issue in prepareModel.sh #6

Open
dsGoose opened this issue Dec 6, 2019 · 3 comments
Open

link issue in prepareModel.sh #6

dsGoose opened this issue Dec 6, 2019 · 3 comments

Comments

@dsGoose
Copy link

dsGoose commented Dec 6, 2019

Hi,
When I try to do prepareModel.sh I have the following error in linking anntest :
[100%] Linking CXX executable anntest
//opt/rocm/lib/libMIOpen.so.1: undefined reference to MIOpenGEMM::Geometry::initialise(bool, bool, bool, bool, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, char)@MIOPENGEMM_1' /opt/rocm/mivisionx/lib/libvx_nn.so: undefined reference to MIOpenGEMM::GemmStatus MIOpenGEMM::xgemm(bool, bool, bool, unsigned long, unsigned long, unsigned long, float, _cl_mem*, unsigned long, unsigned long, _cl_mem*, unsigned long, unsigned long, float, _cl_mem*, unsigned long, unsigned long, _cl_mem*, unsigned long, unsigned long, _cl_command_queue**, unsigned int, _cl_event* const*, _cl_event**, int)@MIOPENGEMM_1'

Any idea ?

then when I go to trafficVision and I do make test I have the following error

OK: OpenVX using GPU device#0 (gfx900) [OpenCL 2.0 ] [SvmCaps 0 0]
OK: annCreateInference: successful
TETS
Traceback (most recent call last):
File "./main.py", line 58, in
yoloNet = inference.yoloInferenceNet(yoloOpenVX.weights);
File "/home/goose/GOOSE/YOLO/trafficVision/inference.py", line 29, in init
input_info,output_info = yoloOpenVX.interface.annQueryInference().decode("utf-8").split(';')
ValueError: too many values to unpack
Makefile:8: recipe for target 'test' failed
make: *** [test] Error 1

Can you help ?

Thanks

Regards

G.

@dsGoose
Copy link
Author

dsGoose commented Dec 6, 2019

Ok I fixed it :)
it's running well now

@srohit0
Copy link
Owner

srohit0 commented Dec 6, 2019

Awesome.

You mind sharing the solution to benefit other users/developers?

@conglanjun
Copy link

I meet the same problem. And solve it myself!
yoloOpenVX.interface.annQueryInference().decode("utf-8") # print it shows, XXX;XXX;
so split(';') the result is ['XXX', 'XXX', '']
only need two elements.
so change code to
input_info,output_info = yoloOpenVX.interface.annQueryInference().decode("utf-8")[0:-1].split(';')

or change the config file text, remove the last ';'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants