-
Notifications
You must be signed in to change notification settings - Fork 3k
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 3D - Milestone-4 #2891
CVAT 3D - Milestone-4 #2891
Conversation
cvat-ui/src/components/annotation-page/standard3D-workspace/styles.scss
Outdated
Show resolved
Hide resolved
cvat-ui/src/components/annotation-page/standard3D-workspace/styles.scss
Outdated
Show resolved
Hide resolved
cvat-ui/src/components/annotation-page/standard3D-workspace/styles.scss
Outdated
Show resolved
Hide resolved
cvat-ui/src/components/annotation-page/canvas/canvas-wrapper3D.tsx
Outdated
Show resolved
Hide resolved
cvat-ui/src/components/annotation-page/canvas/canvas-wrapper3D.tsx
Outdated
Show resolved
Hide resolved
And also I have some issues with context image (It is not a part of this milestone, but we expect everything should be already worked there). We have two test archives: Both of them contains |
Hi @bsekachev ,
|
But are you planning to remove them in the future?
What about adding a tooltip because it is not clear that I should use 'Alt' together with these buttons. What is more, I see you use Button element to display shortcuts. IMHO buttons are assumed to do some actions, but they do not. Can we add the same actions for these button as shortcuts do?
Thanks, I'll check it one more time. @dvkruchinin could you please check if now you can write a tests for context image?
Please, discuss your plans with @nmanovic .
As I see CVAT cuboid placing is 3x slower than in supervise.ly. I believe it should be accelerated. @nmanovic , what do you think? |
...i/src/containers/annotation-page/standard-workspace/controls-side-bar/draw-shape-popover.tsx
Outdated
Show resolved
Hide resolved
cvat-ui/src/components/annotation-page/canvas/canvas-wrapper3D.tsx
Outdated
Show resolved
Hide resolved
cvat-ui/src/components/annotation-page/canvas/canvas-wrapper3D.tsx
Outdated
Show resolved
Hide resolved
Sure. I`ll check. |
...i/src/components/annotation-page/standard-workspace/controls-side-bar/draw-shape-popover.tsx
Outdated
Show resolved
Hide resolved
cvat-ui/src/components/annotation-page/canvas/canvas-wrapper3D.tsx
Outdated
Show resolved
Hide resolved
Hi @manasars I see CI tests were failed now. @dvkruchinin has setup some screenshot tests for the feature. You can find these screenshots pressing build detais and reviewing artifacts: As you can see the both screenshot are equal and they are empty (no any points seen) what is unexpected. I've already reported this bug in the previous milestone, but nobody was able to reproduce it. Some time after it disappeared itself and now appeared again. Also we can see it is reproducible on CI. UPD: Uploaded the same file on supervise.ly (all the points are more noticeable there): |
Hi @bsekachev , Also, when I upload the zip file locally, am able to see the pcd in all views: We are not yet sure on what is causing the issue in the build, trying to replicate in other systems. |
Agree, that it is visible on CI screenshots (different .PCD is used on CI), but the object is much less visible on these views with file I've specified above when it could be noticeable on supervise.ly without any issues. I think we should start from fixing it. In CVAT current implementation visibility apparently depends on points density somehow. Probably one more issue is that the code in this patch affected somehow TOP view area and on screenshot we can't see any objects (as if it is displaced out of viewport) Screenshot before wheel (develop): Screenshot before wheel (this branch) Important note: These screenshots are done in headless mode; |
Hi @manasars , In addition to the message @bsekachev . And as wrote above @bsekachev Getting screenshots is different between the this branch and the develop branch. |
Hi @dvkruchinin , In Milestone-4 we implemented resizing of views due to which the div has changed and delta differs, hence difference in screenshots between develop and this branch. |
Hi @manasars Let me rephrase. It is expected, that the object is visible and centered in all the additional views regardless on availableness resizing feature. Also object looks smaller on top view (as @dvkruchinin mentioned), what is probably because of wrong camera position setup. If you disagree, please explain your point of view. |
Hi @bsekachev , Yes agreed, the top view positioning needs to be adjusted, this came up as a part of adjusting the camera to support PCDs with extreme coordinates, we are working on the fix. |
Please, merge the latest develop. We expect CI should be fixed. |
imagePullPolicy: 'IfNotPresent' | ||
env: | ||
- name: POSTGRES_DB | ||
valueFrom: | ||
secretKeyRef: | ||
name: cvat-postgres-secret | ||
key: POSTGRES_DB | ||
- name: POSTGRES_USER | ||
valueFrom: | ||
secretKeyRef: | ||
name: cvat-postgres-secret | ||
key: POSTGRES_USER | ||
- name: POSTGRES_PASSWORD | ||
valueFrom: | ||
secretKeyRef: | ||
name: cvat-postgres-secret | ||
key: POSTGRES_PASSWORD | ||
- name: POSTGRES_DB | ||
valueFrom: | ||
secretKeyRef: | ||
name: cvat-postgres-secret | ||
key: POSTGRES_DB | ||
- name: POSTGRES_USER | ||
valueFrom: | ||
secretKeyRef: | ||
name: cvat-postgres-secret | ||
key: POSTGRES_USER | ||
- name: POSTGRES_PASSWORD | ||
valueFrom: | ||
secretKeyRef: | ||
name: cvat-postgres-secret | ||
key: POSTGRES_PASSWORD | ||
ports: | ||
- containerPort: 5432 | ||
- containerPort: 5432 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you done these changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted
- image: redis:4.0.5-alpine | ||
name: cvat-redis | ||
imagePullPolicy: Always | ||
ports: | ||
- containerPort: 6379 | ||
resources: | ||
limits: | ||
cpu: '0.1' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you done these changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted
- name: DJANGO_MODWSGI_EXTRA_ARGS | ||
value: '' | ||
- name: UI_PORT | ||
value: '80' | ||
- name: UI_HOST | ||
value: 'cvat-frontend-service' | ||
- name: ALLOWED_HOSTS | ||
value: '*' | ||
- name: CVAT_REDIS_HOST | ||
value: 'cvat-redis-service' | ||
- name: CVAT_POSTGRES_HOST | ||
value: 'cvat-postgres-service' | ||
- name: CVAT_POSTGRES_USER | ||
valueFrom: | ||
secretKeyRef: | ||
name: cvat-postgres-secret | ||
key: POSTGRES_USER | ||
- name: CVAT_POSTGRES_DBNAME | ||
valueFrom: | ||
secretKeyRef: | ||
name: cvat-postgres-secret | ||
key: POSTGRES_DB | ||
- name: CVAT_POSTGRES_PASSWORD | ||
valueFrom: | ||
secretKeyRef: | ||
name: cvat-postgres-secret | ||
key: POSTGRES_PASSWORD | ||
ports: | ||
- containerPort: 8080 | ||
- containerPort: 8080 | ||
volumeMounts: | ||
- mountPath: /home/django/data | ||
name: cvat-backend-data | ||
subPath: data | ||
- mountPath: /home/django/keys | ||
name: cvat-backend-data | ||
subPath: keys | ||
- mountPath: /home/django/logs | ||
name: cvat-backend-data | ||
subPath: logs | ||
- mountPath: /home/django/models | ||
name: cvat-backend-data | ||
subPath: models | ||
- mountPath: /home/django/data | ||
name: cvat-backend-data | ||
subPath: data | ||
- mountPath: /home/django/keys | ||
name: cvat-backend-data | ||
subPath: keys | ||
- mountPath: /home/django/logs | ||
name: cvat-backend-data | ||
subPath: logs | ||
- mountPath: /home/django/models | ||
name: cvat-backend-data | ||
subPath: models | ||
initContainers: | ||
- name: user-data-permission-fix | ||
image: busybox | ||
command: ["/bin/chmod", "-R", "777", "/home/django"] | ||
command: ['/bin/chmod', '-R', '777', '/home/django'] | ||
volumeMounts: | ||
- mountPath: /home/django/data | ||
name: cvat-backend-data | ||
subPath: data | ||
- mountPath: /home/django/keys | ||
name: cvat-backend-data | ||
subPath: keys | ||
- mountPath: /home/django/logs | ||
name: cvat-backend-data | ||
subPath: logs | ||
- mountPath: /home/django/models | ||
name: cvat-backend-data | ||
subPath: models | ||
- mountPath: /home/django/data | ||
name: cvat-backend-data | ||
subPath: data | ||
- mountPath: /home/django/keys | ||
name: cvat-backend-data | ||
subPath: keys | ||
- mountPath: /home/django/logs | ||
name: cvat-backend-data | ||
subPath: logs | ||
- mountPath: /home/django/models | ||
name: cvat-backend-data | ||
subPath: models |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you done these changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted code
@@ -25,5 +25,5 @@ spec: | |||
image: openvino/cvat_ui:v1.2.0 | |||
imagePullPolicy: Always | |||
ports: | |||
- containerPort: 80 | |||
- containerPort: 80 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, look at kubernetes-templates/*
, I believe you didn't change these files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like pre-commit hook autocorrected the files, we shall revert.
We shall be pushing again, the kubernetes reversion has not happened yet |
Hi @bsekachev , we have merged with latest develop code and the CI build is successful. |
CVAT-3D-Milestone4 : Implement initial cuboid placement in 3D View and selected cuboid adjustment in Top, Side and Front views.
Changes include:
Implemented initial cuboid placement in 3D View.
Implemented display of top, front, and side view of the active cuboid.
Implemented adjusting the borders of views to allow changing the width and height of a specific view.
Implemented centre axis for PCD rotation.
Fixed the UTF-8 encoding exception which occurred while creating zip file in MACOS.
Test Cases:
Manual Unit testing done locally.
Existing test cases work as expected.
System Test cases will be shared.
[x ] I submit my changes into the develop branch
[ x] I submit my code changes under the same MIT License that covers the project.