在執行 TransferLearningWithInceptionV3 期間拋出 IndexOutOfRangeException。
SciSharp-Stack-Examples 的版本自 2022 年 1 月 8 日起。
截圖例外
uj5u.com熱心網友回復:
在框架中,他們使用特征向量快取并將其作為逗號分隔的浮點數序列存盤在 txt 中。
但在我的文化中,小數分隔符也是逗號。所以這個檔案被錯誤地讀取了。
如果應用用點分隔小數部分的區域性,則可以修復該錯誤:
static void Main(string[] args)
{
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-GB");
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/443318.html
