GithubHelp home page GithubHelp logo

Comments (6)

voldemortX avatar voldemortX commented on June 9, 2024

@xxKomorebixx 你指的是训练时候把transform到图片外面的部分截掉这一步么?

from pytorch-auto-drive.

xxKomorebixx avatar xxKomorebixx commented on June 9, 2024

1679467773801

1679467857751

是这一部分 使用了De Casteljau算法

from pytorch-auto-drive.

voldemortX avatar voldemortX commented on June 9, 2024

@xxKomorebixx 这个事情是因为旋转等数据增强策略让图片的部分区域转出,同时车道线也转出,为了严谨性最好是把这部分去掉,所以有了这个处理。

总结一下有两个解决方案,一是忽略这个问题,允许网络预测图片边界外的控制点,测试推理时把图片外的采样点丢弃。二是想办法截取GT,截取方法可以是类似我原来的公式(高阶可能不好推),也可以是重新拟合(要通过并行处理等方式,避免过度影响训练速度)。

from pytorch-auto-drive.

xxKomorebixx avatar xxKomorebixx commented on June 9, 2024

@xxKomorebixx 这个事情是因为旋转等数据增强策略让图片的部分区域转出,同时车道线也转出,为了严谨性最好是把这部分去掉,所以有了这个处理。

总结一下有两个解决方案,一是忽略这个问题,允许网络预测图片边界外的控制点,测试推理时把图片外的采样点丢弃。二是想办法截取GT,截取方法可以是类似我原来的公式(高阶可能不好推),也可以是重新拟合(要通过并行处理等方式,避免过度影响训练速度)。

明白了!!十分感谢您!

from pytorch-auto-drive.

Wilbur529 avatar Wilbur529 commented on June 9, 2024

@xxKomorebixx 这个事情是因为旋转等数据增强策略让图片的部分区域转出,同时车道线也转出,为了严谨性最好是把这部分去掉,所以有了这个处理。

总结一下有两个解决方案,一是忽略这个问题,允许网络预测图片边界外的控制点,测试推理时把图片外的采样点丢弃。二是想办法截取GT,截取方法可以是类似我原来的公式(高阶可能不好推),也可以是重新拟合(要通过并行处理等方式,避免过度影响训练速度)。

@voldemortX Hi,我尝试了方案一“允许网络预测图片边界外的控制点”,设置了order=4,同时修改了相关配置文件中的参数num_regression_parameters=10。目前模型输出各向量的尺寸均符合预期,模型也可以正常计算出loss值,但是在backward时会报如下错误:
image

想请教下可能是什么原因呢?

from pytorch-auto-drive.

voldemortX avatar voldemortX commented on June 9, 2024

@xxKomorebixx 这个事情是因为旋转等数据增强策略让图片的部分区域转出,同时车道线也转出,为了严谨性最好是把这部分去掉,所以有了这个处理。

总结一下有两个解决方案,一是忽略这个问题,允许网络预测图片边界外的控制点,测试推理时把图片外的采样点丢弃。二是想办法截取GT,截取方法可以是类似我原来的公式(高阶可能不好推),也可以是重新拟合(要通过并行处理等方式,避免过度影响训练速度)。

@voldemortX Hi,我尝试了方案一“允许网络预测图片边界外的控制点”,设置了order=4,同时修改了相关配置文件中的参数num_regression_parameters=10。目前模型输出各向量的尺寸均符合预期,模型也可以正常计算出loss值,但是在backward时会报如下错误:
image

想请教下可能是什么原因呢?

有跟master分支的diff吗,感觉这个报错比较奇怪

from pytorch-auto-drive.

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.