About Resize in Project-MONAI / tutorials/detectuib #1602
              
                
                  
                  
                    Answered
                  
                  by
                    KumoLiu
                  
              
          
                  
                    
                      Dana136484
                    
                  
                
                  asked this question in
                Q&A
              
            -
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            KumoLiu
          
      
      
        Jan 4, 2024 
      
    
    Replies: 1 comment 3 replies
-
| Hi @Dana136484, please ensure your data shape is correct. From the error message, your data is 4D, perhaps you should remove one dim. | 
Beta Was this translation helpful? Give feedback.
                  
                    3 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Do you mean to resize the bounding box? You can try to use
ResizeBox.https://github.com/Project-MONAI/MONAI/blob/8fa6931b14ba9617a595fff1d396ac44cc82e207/monai/apps/detection/transforms/array.py#L267
Thanks!