Open canerturkmen opened 4 years ago
@sxjscience FYI
Is this fixed already?
@eric-haibin-lin It's not fixed. For the first issue, the problem is that the serialized json file has not stored the in_format.
cc @leezu
BTW - @canerturkmen thank you for reporting this.
Description
This is a combination of two small issues with the
HybridBlock.export
andSymbolBlock.imports
methods._in_format
and_out_format
attributes are not persisted. Especially when dealing with nested inputs, this leads to some unexpected behavior.export
ed, a.params
file is written out. However when the same empty params file is fed back toimports
, the method fails somewhat obscurely.To Reproduce
Error Message
(For ISSUE 2 above)
What have you tried to solve it?
We're handling it in gluon-ts by explicitly writing and reading input/output formats. See the issue.
Environment
We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below: