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

Generated images without movable objects #7

Closed
dyy0205 opened this issue Sep 23, 2024 · 4 comments
Closed

Generated images without movable objects #7

dyy0205 opened this issue Sep 23, 2024 · 4 comments

Comments

@dyy0205
Copy link

dyy0205 commented Sep 23, 2024

Hi, great work for your job!
Why are there no foreground objects such as cars in the pictures I generated?
By the way,I have no openai account so i can't generate updated_description_.pkl file, so i just use original 12Hz_.pkl as WorldDreamer's input, is that the reason?
截屏2024-09-23 下午1 47 05

@jokester-zzz
Copy link
Collaborator

The visualization you show and the box projection at inference time are not executed at the same time. It is possible that the visualization is correct but the box is not actually projected onto the canvas.
Maybe you can check the code in the following function to see if it is executed correctly.

def project_box_to_image(gt_bboxes_3d, gt_labels_3d, transform, object_classes, image=None, cam_name=None):

@dyy0205
Copy link
Author

dyy0205 commented Sep 23, 2024

@jokester-zzz thank you very much! I have solved this problem. Due to mismatched opencv version, cv2.line may raise an tuple error, so by try: except: judgment, it may skip draw lines!

@jokester-zzz
Copy link
Collaborator

Congratulations on solving the problem! And it reminds me to add some instructions there😆

@xiaodongww
Copy link

@dyy0205 Hi, may i ask what version of sumo do you use? I just struggling with an error caused by sumo. the deail is described in this issue. Any suggestion would be grateful. Thanks a lot.

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