I am trying to implement FastRCNN using Mindspore, I am using the code from the offciel gitee as a reference: 'https://gitee.com/mindspore/mindspore/tree/r1.3/model_zoo/official/cv/faster_rcnn'
knowint that I am using Mindspore 1.3
and VOC dataset.
When I run the train.py code the following error pop up:
Traceback (most recent call last):
File "C:/Users/Yaman/PycharmProjects/MindSpore_1.3/train_New.py", line 114, in <module>
param_dict = load_checkpoint(load_path)
File "C:\Users\Yaman\AppData\Local\Programs\Python\Python37\lib\site-packages\mindspore\train\serialization.py", line 401, in load_checkpoint
ckpt_file_name, filter_prefix = _check_checkpoint_param(ckpt_file_name, filter_prefix)
File "C:\Users\Yaman\AppData\Local\Programs\Python\Python37\lib\site-packages\mindspore\train\serialization.py", line 478, in _check_checkpoint_param
raise ValueError("The checkpoint file does not exist.")
ValueError: The checkpoint file does not exist.
This is the line of code causing the error:
load_path = config.pre_trained
if load_path != "":
param_dict = load_checkpoint(load_path)
And this is what I have in Config:
pre_trained: "/cache/train/fasterrcnn/faster_rcnn-12_7393.ckpt"
Why I cant find the above file, do I have to creat the checkpoint file (faster_rcnn-12_7393) or I have to download from somewhere?
Thank you in advance,,