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
{{ message }}
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.
Hello, I have faced an issue in model loading while trying to load ResNet-like model. The simplest steps to reproduce I found is to use the following model:
This line, which calls pattern function on the None value of l2;
The single layer in saved model layers list. This is not rare in ResNet-like models because of projection residual connections, which are saved by MergeSum (used for branches concatenation) as a separate layer list.
The solution I found is to skip pairs with None values:
Hello, I have faced an issue in model loading while trying to load ResNet-like model. The simplest steps to reproduce I found is to use the following model:
This produces the following error during loading from saved weights:
The key components of this problem is:
pairwise
function, which adds aNone
element to the list;None
value ofl2
;MergeSum
(used for branches concatenation) as a separate layer list.The solution I found is to skip pairs with
None
values:Environment: python 3.5.2, neon 2.6.0 (f9d771b).
The text was updated successfully, but these errors were encountered: