Code Monkey home page Code Monkey logo

Comments (5)

ziqipang avatar ziqipang commented on June 26, 2024

@miraclesheephaha I am not familiar with PETRv2 right now. From the error message you just presented, it seems you have to modify the input arguments of each type of class. For the tracking purpose, I think the input to the head needs to be modified. For example, you can take a look at how I modified the things and perhaps imitate this style if you want to use PETRv2.

  • Here is my modified PETR head for tracking.
  • Here is the original PETR head.

from pf-track.

miraclesheephaha avatar miraclesheephaha commented on June 26, 2024

OK,Thank you for your reply.
I will try it.

from pf-track.

ziqipang avatar ziqipang commented on June 26, 2024

@miraclesheephaha Also, please check our documentation out to see if its information helps. https://github.com/TRI-ML/PF-Track/blob/main/documents/detection_heads.md

from pf-track.

miraclesheephaha avatar miraclesheephaha commented on June 26, 2024

After that, I created new petrv2_tracking_head2 and petrv2's f1_q500_800320.py, and then I added the following line to train_pipeline_multiframe in f1_q500_800320.py
dict(type='LoadMultiViewImageFromMultiSweepsFiles', sweeps_num=1, to_float32=True, pad_empty_sweeps=True, test_mode=False, sweep_range=[3,27])
According to this question, I also added generate_sweep_pkl.py of petrv2
megvii-research/PETR#60

This problem will occur as follows
PF-Track/projects/mmdet3d_plugin/datasets/pipelines/loading.py", line 63, in __call__ img_timestamp = results['img_timestamp'] KeyError: 'img_timestamp'

Looking forward to your answer,thank you.

from pf-track.

ziqipang avatar ziqipang commented on June 26, 2024

From the error message, it seems you are not using the tracking dataset, not sure if it is related, example link. Meanwhile, please also remember to prepare the data according to my documentation. @miraclesheephaha

from pf-track.

Related Issues (20)

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.