Skip to content

Commit 2205cf0

Browse files
committed
Remove type field from postprocessor config
1 parent 11a7717 commit 2205cf0

6 files changed

Lines changed: 103 additions & 322 deletions

File tree

apps/computer-vision/app/instance_segmentation/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ const AVAILABLE_INPUT_SIZES = [384, 416, 512, 640, 1024];
7676
* availableInputSizes: [640],
7777
* defaultInputSize: 640,
7878
* postprocessorConfig: {
79-
* type: 'yolo',
8079
* defaultConfidenceThreshold: 0.5,
8180
* defaultIouThreshold: 0.45,
8281
* applyNMS: true,
@@ -95,7 +94,7 @@ export default function InstanceSegmentationScreen() {
9594

9695
const { isReady, isGenerating, downloadProgress, forward, error } =
9796
useInstanceSegmentation({
98-
model: YOLO26N_SEG,
97+
model: YOLO26X_SEG,
9998
});
10099

101100
const [imageUri, setImageUri] = useState('');

0 commit comments

Comments
 (0)