rockchip-linux / rknn-toolkit

BSD 3-Clause "New" or "Revised" License
771 stars 175 forks source link

Visualization tool error in docker #430

Open dbrazey opened 5 months ago

dbrazey commented 5 months ago

Hello,

I am using rknn-toolkit version 1.7.5 on Ubutu 18.04. I run the docker, as explained in the doc.

Then, I tru to run the visualization tool with the command python -m rknn.bin.visualization

I get the following error

127.0.0.1:7000 is unused
server_flag_file doesn't exist, run server first time
*********************** open window ***********************
[3424:0118/003758.640353:FATAL:atom_main_delegate.cc(210)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
 * Serving Flask app 'rknn.visualization.server.flask_rknn_tookit' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
server is ready
Trace/breakpoint trap (core dumped)

***********************close server***********************
close server

Any ideas ?

Thanks

ANYMS-A commented 4 months ago

Hey! May I ask where can I get the docker image of the rknn-toolkit-v1.7.5? I searched the whole project but can not find it. Thanks!

dbrazey commented 4 months ago

Hello, In the readme of the project, in the Download section, you have a link (and the password). You can also download all packages, docker image, examples, docs and platform-tools from [RKNPU1_SDK](https://console.zbox.filez.com/l/t5dxIs), fetch code: rknn In the rknn-toolkit-1.7.5.tgz file, you have the docker image.

ANYMS-A commented 4 months ago

Thanks for the answering!