Click4Ai

341.

Hard

Semantic Segmentation

**Problem Statement:** Implement a semantic segmentation model using a U-Net architecture to segment objects in an image. The model should take an input image and output a segmentation mask.

**Example:** If we have an input image with size 256x256, we want to output a segmentation mask with the same size.

**Constraints:** The model should be able to segment objects in the input image, and the output segmentation mask should have the same size as the input image.

Test Cases

Test Case 1
Input: {"input_shape": [256, 256, 3]}
Expected: None
Test Case 2
Input: {"input_shape": [512, 512, 3]}
Expected: None
+ 3 hidden test cases