When we are deploying our use case on a server, what we could observe is -
when we freshly do docker-compose up, the ia_visualizer container is starting again and again. And if we continue running after some time on docker ps we do not see ia_visualizer is container list.
Request your help to debug this issue.
I have attached screenshot of same
From the attached error, seems like the Visualizer container is unable to connect to the display. Does your server setup have a display or it is just command-line based?
If your server is connected to the display, you should see the visualizer pop out, before that as mentioned you need to run xhost + command it is a one time configuration. and needed by
ia_visualizer service to render the UI. you will need to repeat this step every time you reboot your server.
if the problem still persists, can you help to share the screen capture of docker ps output and your docker-compose.yml file?
If your server doesn't have an X11 display, then this isn't for you as the visualizer container utilizes tkinter to visualize and display the inference results via X11. It's perfectly okay for you to comment out the section for the visualizer in the docker-compose.yml file, or you can stop the container manually.
Alternatively, you can view the inference results from the web visualizer container with a web browser. You can refer to section 10.2 in the user guide.