如何使用libtorch在ScriptMoudle中获取超参数?

时间:2019-11-14 14:58:29

标签: c++ pytorch libtorch

用python训练模型并用[2019.11.14-14.26.20:992][559]UATHelper: Packaging (Windows (64-bit)): Using Visual Studio 2017 14.16.27023 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023) and Windows 10.0.17763.0 SDK (C:\Program Files (x86)\Windows Kits\10). [2019.11.14-14.26.21:009][561]UATHelper: Packaging (Windows (64-bit)): Building 3 actions with 6 processes... [2019.11.14-14.41.41:660][ 57]UATHelper: Packaging (Windows (64-bit)): [1/3] Module.GalacticRangersVR.cpp [2019.11.14-14.42.00:764][114]UATHelper: Packaging (Windows (64-bit)): [2/3] GalacticRangersVR.exe [2019.11.14-14.42.00:765][114]UATHelper: Packaging (Windows (64-bit)): ��������� ���������� D:\GalacticRangersVR\Binaries\Win64\GalacticRangersVR.lib � ������ D:\GalacticRangersVR\Binaries\Win64\GalacticRangersVR.exp [2019.11.14-14.42.00:765][114]UATHelper: Packaging (Windows (64-bit)): [3/3] GalacticRangersVR.target 保存后,如何获取参数,例如在libtorch中加载模型时,torch.jit.trace的步幅或填充大小是多少? 顺便说一下,该模型是由Conv2d创建的。

0 个答案:

没有答案