Skip to content
Discussion options

You must be logged in to vote

Hi @valecorbetta, I noticed that you used num_samples in both RandCropByPosNegLabeld and RandSpatialCropSamplesd. After your transforms, it will create a nested list that contains 32*96 samples for each image.
IMO, you could simply remove RandSpatialCropSamplesd and changed the roi_size in RandSpatialCropd to be (96, 96, 1).

Hope it can help you, thanks!

Replies: 2 comments 18 replies

Comment options

You must be logged in to vote
6 replies
@KumoLiu
Comment options

@naga-karthik
Comment options

@KumoLiu
Comment options

@naga-karthik
Comment options

@valecorbetta
Comment options

Answer selected by wyli
Comment options

You must be logged in to vote
12 replies
@KumoLiu
Comment options

@KumoLiu
Comment options

@jcohenadad
Comment options

@KumoLiu
Comment options

@jcohenadad
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants