Giter Club home page Giter Club logo

experiment-uniad's Introduction

为了运行这个项目首先需要

  1. 进入到src/ops/ 文件夹里面 运行python setup.py install 注意这个需要每次更新算子都需要运行一次!!!
  2. 然后将uniad里面的/data文件夹复制到Experiment-UniAD/src/ 下面(应该是需要使用里面的内容的 具体在哪里有点忘了)目录的结构大概是:
├── main.py
├── readme.md
├── src
│   ├── __init__.py
│   ├── __pycache__
│   ├── data
│   ├── mmdet3d
│   ├── modules
│   ├── motion_head
│   ├── occ_head
│   ├── ops
│   ├── seg_head
│   ├── track_head
│   ├── uniad_e2e.py
│   ├── uniad_track.py
│   └── utils
└── tests
    ├── __init__.py
    ├── __pycache__
    ├── inputs
    ├── motion_head_torch
    ├── occ_head_torch
    ├── test_builder.py
    ├── test_module.py
    └── weights
  1. 每次提交前在tests文件夹下面运行pytest test_modules.py 和 pytest test_builder.py
  2. 注意!!! 如果提交了大的文件超过100m 需要先git lfs track 然后再提交

如何验证正确性:

  1. 在UniAD原仓库前面用 torch.save(self.seg_head.state_dict(),"/tmp/seg_head_weights.pth") 这样来保存weights,同时需要保存输入、利用pickle保存(这里GPT一下如何保存模型输入就行)
  2. 在当前项目的model上load weights 如何把inputs拿出来对进去跑就行了,这样就不用管之前的网络结果是不是正确的

experiment-uniad's People

Contributors

valerianding avatar gofreelee avatar

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.