Assign requires shapes of both tensors to match. lhs shape= [32] rhs shape= [64]

Assign requires shapes of both tensors to match. lhs shape= [32] rhs shape= [64] 這是關於一個人臉評分項目中出現的錯誤,原因是因爲這模型中訓練和測試的時候網絡的參數是不一致的導致的,下面是原來的項目中的網絡結構:由於兩個網絡結構是不一致的所以應該修改爲一致的網絡結構
相關文章
相關標籤/搜索