Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using batch_generator, where should I put "boxes_coords" in? #129

Open
fmo-voxelcloud opened this issue Jul 28, 2021 · 1 comment
Open

Comments

@fmo-voxelcloud
Copy link

I have a custom datasets in 3D, labeled with segmentation and I did ConvertSegToBoundingBoxCoordinates already, so I have a annotation file (.json), contains each image's path, segmentation path and b-boxes.

Now I am confusing when re-writing preprocessing.py script, as showed in README, I should have a dict contains:
"data": preprocessed image (.npy format)
"seg": preprocessed segmentation image (.npy format)
"pid": patient id
"class_target": a list of each ROI's class, for example, [1, 2] (means this image have 2 rois, first is class_1 and second is class_2)

So, where the bounding boxes coordinates should be put ??

@Satantago
Copy link

Hello! Did you manage to write a customized preprocessing.py for your own dataset? If yes, could you please provide it? Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants