I have successfully set the data, however, the number of class need to be modified and some model layers cannot be restored accordingly.
For example, when I run the code, it raised the following error:
Cannot copy param 0 weights from layer 'cls_score_readonly'; shape mismatch. Source param shape is 21 4096 (86016); target param shape is 146 4096 (598016). To learn this layer's parameters from scratch rather than copying from a saved net, rename the layer.
Cannot copy param 0 weights from layer 'cls_score'; shape mismatch. Source param shape is 21 4096 (86016); target param shape is 146 4096 (598016). To learn this layer's parameters from scratch rather than copying from a saved net, rename the layer.
So could anybody give me some advice on how to fix it?
Thank you!
I want to train this net using my own dataset.
I have successfully set the data, however, the number of class need to be modified and some model layers cannot be restored accordingly.
For example, when I run the code, it raised the following error:
So could anybody give me some advice on how to fix it? Thank you!