Mask R-CNN Example does not work

2 次查看(过去 30 天)
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.

类别

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