You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: