Giter Site home page Giter Site logo

Comments (5)

zehuichen123 avatar zehuichen123 commented on August 24, 2024 1

Hi, we only choose one view to crop, the first view that has the object, following the order (FRONT, LEFT_FRONT, RIGHT_FRONT, LEFT_BACK, RIGHT_BACK, BACK, maybe). The reason that I crop one image patch is we simply want to reduce the size of GT database.

from autoalignv2.

guangqianzhang avatar guangqianzhang commented on August 24, 2024

i have the same question.it will show TypeError: list indices must be integers or slices, not tuple,right? there are actually a wrong, but do not know the solution. may i get your ways? thanks

from autoalignv2.

ZecCheng avatar ZecCheng commented on August 24, 2024

File "tools/create_data.py", line 237, in
max_sweeps=args.max_sweeps)
File "tools/create_data.py", line 84, in nuscenes_data_prep
with_bbox=True)
File "/opt/lcx/project/AutoAlignV2/tools/data_converter/create_gt_database.py", line 324, in create_groundtruth_database
object_img_patches = crop_img_patch_with_box_v2(gt_boxes, example['img'])
File "/opt/lcx/project/AutoAlignV2/tools/data_converter/create_gt_database.py", line 129, in crop_img_patch_with_box_v2
img_patch = org_img_list[num_img][y1:y1 + h, x1:x1 + w]
IndexError: list index out of range

i meet the question like this. it shows that the org_img_list input only contains one image while we choose 6 images of different views to crop it. so my question is, why only crop one image patches?

from autoalignv2.

ZecCheng avatar ZecCheng commented on August 24, 2024

thanks a lot for your prompt answer~ so in [crop_img_patch_with_box”] function, i may just filter other views like this?
if(num_img ==0) img_patch = org_img_list[0][y1:y1 + h, x1:x1 + w] img_patches.append(img_patch) where num_img varies from 0 to 5, which means 6 different views gt bboxes.

buaazeus opened this issue on Oct 26, 2022 · 3 co

Hi, we only choose one view to crop, the first view that has the object, following the order (FRONT, LEFT_FRONT, RIGHT_FRONT, LEFT_BACK, RIGHT_BACK, BACK, maybe). The reason that I crop one image patch is we simply want to reduce the size of GT database.

from autoalignv2.

zehuichen123 avatar zehuichen123 commented on August 24, 2024

You may have a try. The code should not have this problem since I have used it to generate the database before... it's quite strange... Perhaps I changed it for waymo afterwards.

from autoalignv2.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.