Git Product home page Git Product logo

Comments (10)

pengsida avatar pengsida commented on August 16, 2024

你可以给我几张示例图,我给你写个convert代码。

from snake.

RonDen avatar RonDen commented on August 16, 2024

可以考虑转换成COCO格式

from snake.

Ruanyuzhe avatar Ruanyuzhe commented on August 16, 2024

屏幕快照 2020-06-03 00 27 44

屏幕快照 2020-06-03 00 29 07

由于数据集的特殊性,我只能从已有的论文上给你截图数据的sample,inputCT数据大小为[15,96,96]是3d输入,对应label的形状为[96,96]为通过0,1,2来标记不同的类别的mask。该数据集并无annotation的json文件。由于代码的注释较少,修改遇到了困难。在此麻烦作者了! 辛苦作者了!请给一些建议

from snake.

pengsida avatar pengsida commented on August 16, 2024

这个是label图片吗
image

from snake.

Ruanyuzhe avatar Ruanyuzhe commented on August 16, 2024

是的,是血管内壁与外壁的轮廓

from snake.

pengsida avatar pengsida commented on August 16, 2024

将已有轮廓存起来就好了,把这行代码替换掉:https://github.com/zju3dv/snake/blob/master/tools/convert_sbd.py#L93

from snake.

Ruanyuzhe avatar Ruanyuzhe commented on August 16, 2024

对该文件有两个问题:
1.binary_mask_to_polygon函数,如果我没有理解错的话,是不是将mask转化成有序的坐标序列(顺时针或者逆时针)?
2.txt的内容(e.g. "train")是什么样子的呀?,txt文件是需要根据数据集手动制作的吗?能不能给一个sbd数据集的txt的sample呀?

from snake.

pengsida avatar pengsida commented on August 16, 2024
  1. 是的,把mask转成有序的坐标序列,也就是polygon。
  2. 你下载SBD就可以知道txt的内容。

from snake.

Ruanyuzhe avatar Ruanyuzhe commented on August 16, 2024

作者你好,我还有一个问题。在生成annotation时,用到了“area”,这个分割的面积对网络训练有影响吗,能否去掉?(因为我的label只有轮廓没有填充)

from snake.

pengsida avatar pengsida commented on August 16, 2024

对coco evaluation有影响。
如果你有polygon,算area应该挺简单的。

from snake.

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.