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

cvat_ui is loading infinetly #714

Closed
vskubriev opened this issue Sep 13, 2019 · 14 comments
Closed

cvat_ui is loading infinetly #714

vskubriev opened this issue Sep 13, 2019 · 14 comments
Labels
bug Something isn't working

Comments

@vskubriev
Copy link
Contributor

After successful docker-compose build and up, cvat_ui is not responding correctly. Interface is loading infinetly, as shown below:

image

I tried to setup from master (c05c7ae).

Can you help me to solve the issue. Any additional information I will attach at monday. Please specify what is necessary for you.

I made the following changes in docker-compose.yml for our case:

diff --git a/docker-compose.yml b/docker-compose.yml
index 163bbba..40be99f 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -50,11 +50,16 @@ services:
         DJANGO_CONFIGURATION: "production"
         WITH_TESTS: "no"
         TZ: "Etc/UTC"
-        OPENVINO_TOOLKIT: "no"
+        OPENVINO_TOOLKIT: "yes"
+        CUDA_SUPPORT: "yes"
+        WITH_DEXTR: "yes"
+    runtime: "nvidia"
     environment:
       DJANGO_MODWSGI_EXTRA_ARGS: ""
       UI_PORT: 9080
-
+      NVIDIA_VISIBLE_DEVICES: all
+      NVIDIA_DRIVER_CAPABILITIES: compute,utility
+      NVIDIA_REQUIRE_CUDA: "cuda>=9.0"
     volumes:
       - cvat_data:/home/django/data
       - cvat_keys:/home/django/keys
@bsekachev
Copy link
Member

bsekachev commented Sep 13, 2019

@vskubriev

It's a pre-alpha functionality. We don't recommend use it till the next release.
Previous UI version is expected to be work.

@bsekachev bsekachev added the question Further information is requested label Sep 13, 2019
@nmanovic
Copy link
Contributor

@vskubriev , could you please open developer tools in chrome and look in console log? Let's try to understand what is going on.

@bsekachev
Copy link
Member

@nmanovic

It isn't a first case. A man in telegram has reported me the same

@vskubriev
Copy link
Contributor Author

@vskubriev

It's a pre-alpha functionality. We don't recommend use it till the next release.
Previous UI version is expected to be work.

Could you clarify how to use previous UI version or just use repo from Release 0.5.0 ?

@bsekachev
Copy link
Member

@vskubriev
Go to default port: 8080, not 9080
localhost:8080

@vskubriev
Copy link
Contributor Author

@vskubriev , could you please open developer tools in chrome and look in console log? Let's try to understand what is going on.

Log from console attached.
1568621232833.log

@vskubriev
Copy link
Contributor Author

@vskubriev
Go to default port: 8080, not 9080
localhost:8080

There is error Bad Request (400) on 8080 port.

@vskubriev
Copy link
Contributor Author

Issue resolved ?

I just changed servername and then ui on 8080 is opens normally.

ERROR django.security.DisallowedHost: Invalid HTTP_HOST header

@bsekachev
Copy link
Member

@vskubriev
Great.
Nevertheless we should investigate about new ui.
Let's leave the issue open.

@bsekachev bsekachev added bug Something isn't working and removed question Further information is requested labels Sep 16, 2019
@vskubriev
Copy link
Contributor Author

@nmanovic

It isn't a first case. A man in telegram has reported me the same

Why is in official manual there is installing from master ?

https://github.com/opencv/cvat/blob/develop/cvat/apps/documentation/installation.md#additional-components

Is it would be better to checkout release tag/branch before run docker-compose then it would be logical to indicate this in installation manual

@nmanovic
Copy link
Contributor

@vskubriev , please don't hesitate to send us a patch if you see how to improve the installation guide.

@vskubriev
Copy link
Contributor Author

@vskubriev , please don't hesitate to send us a patch if you see how to improve the installation guide.

Thanks. Will do.

@nmanovic
Copy link
Contributor

nmanovic commented Nov 1, 2019

@vskubriev , new CVAT UI was reimplemented. I will close the issue because it isn't actual anymore. Don't hesitate to reopen it if you still can reproduce the issue on develop branch.

@nmanovic nmanovic closed this as completed Nov 1, 2019
@vskubriev
Copy link
Contributor Author

@nmanovic it's time to upgrade installed CVAT ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants