Mask R-CNN Example does not work

1 回表示 (過去 30 日間)
Thomas Cimiega
Thomas Cimiega 2022 年 7 月 3 日
コメント済み: tao wang 2022 年 7 月 6 日
If I run the code on my computer (M2021a and b) as well as the "Try this example"-Button on the page, I get the following issue in line 4:
pretrained = load(fullfile(dataFolder,"maskrcnn_object_person_car_v2.mat"));
Unable to find file or directory 'C:\Users\thoma\AppData\Local\Temp\coco\maskrcnn_object_person_car_v2.mat'.
I looked into the directory and it seems to be a typo in either the example or the .mat file on the server: the load function downloaded
maskrcnn_object_person_car.mat
If I try to load it, I get:
Warning: Variable 'net' originally saved as a maskrcnn cannot be instantiated as an object and will be read in as a
uint32.
Edit: I was not aware that I am able to update to 2022a (I have a student license). I will retry it with 2022a and provide an update.

回答 (1 件)

Thomas Cimiega
Thomas Cimiega 2022 年 7 月 3 日
Okay, I managed to install and try it with M2022a and it seems to work. Nevertheless the problem still exists for M2021x users.
  1 件のコメント
tao wang
tao wang 2022 年 7 月 6 日
Excuse me, how can I replace it with my own dataset for training?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by