필터 지우기
필터 지우기

How to modify the fully connected layer for YOLO purposes?

조회 수: 10 (최근 30일)
Fahmi Akmal Dzulkifli
Fahmi Akmal Dzulkifli 2023년 2월 7일
답변: Nihal 2024년 9월 25일 7:04
Greetings
I have two classes and I want to use the Squeezenet network for YOLOv3 purposes. However, the last three layers in the network ('pool10', 'prob', and 'ClassificationLayer_predictions') have an ouput of 1x1x1000. How can I change the network for my purpose?

답변 (1개)

Nihal
Nihal 2024년 9월 25일 7:04
Hi Fahmi,
You can use MATLAB's removeLayers function in order to remove a layer from a neural network, then you can add your own custom layer with the given output size of 1x1x1000 using addLayers function.
Hope it helps!

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by