Git Product home page Git Product logo

Comments (6)

garriton avatar garriton commented on May 24, 2024 1

改掉config/persformer_openlane.py 里的

    # 1000 sequence
    args.dataset_name = 'openlane'
    args.dataset_dir = '/mnt/disk01/openlane/images/'
    args.data_dir = '/mnt/disk01/openlane/lane3d_1000/'

按照OpenLane的数据集格式和路径格式,图片放在validation下面的文件夹里

-images
----training
--------segment-183829460855609442_430_000_450_000_with_camera_labels
----validation
--------segment-183829460855609442_430_000_450_000_with_camera_labels
------------要推理的图片
-lane3d_300
----training
--------segment-183829460855609442_430_000_450_000_with_camera_labels
----validation
--------segment-183829460855609442_430_000_450_000_with_camera_labels
------------找个OpenLane里面的真值json放进去,重命名成要推理的图片(这里主要是我只看可视化结果,对数值不在意,如果你有真的真值就放真的吧

然后运行

python main_persformer.py --mod=PersFormer --batch_size=1

请问可以将单张推理的命令发一下吗

from persformer_3dlane.

dyfcalid avatar dyfcalid commented on May 24, 2024

对于推理,需要提供输入图像、相机内参和相机外参。
目前只提供了OpenLane的训练和测试代码,对于单张图像的推理,您可以按照OpenLane的数据集格式和路径格式准备对应的图片和标注(相机内参和相机外参从标注中读取)作为validation。将persformer_openlane.py中args.evaluation置为True,修改图片和标注的路径args.dataset_dir和args.data_dir。

from persformer_3dlane.

garriton avatar garriton commented on May 24, 2024

感谢!已完成!很棒的工作,大佬加油

from persformer_3dlane.

Monssica avatar Monssica commented on May 24, 2024

请问可以将单张推理的命令发一下吗

from persformer_3dlane.

Monssica avatar Monssica commented on May 24, 2024

十分感谢,美好的一天~

from persformer_3dlane.

ZC0102-shu avatar ZC0102-shu commented on May 24, 2024

十分感谢,美好的一天~

请问你在其他数据上预测的效果如何?

from persformer_3dlane.

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.