louisoutin / rat_crypto_trader

Relation-Aware Transformer for Portfolio Policy Learning using Binance provider
20 stars 5 forks source link

pikle file #2

Open absolutProgrammer opened 2 years ago

absolutProgrammer commented 2 years ago

after training the model, I got the 1.pkl file (which contained in the runs folder). Trying to open it by pickle library I have got an error: UnpicklingError: A load persistent id instruction was encountered, but no persistent_load function was specified.

absolutProgrammer commented 2 years ago

Could you provide a description of what data contained in the 1.pkl file? Inside of the 1.pkl contained data.pkl with bite files names 0, 1, 3 ...

louisoutin commented 2 years ago

Sorry for the extension "pkl", actually if you just read the code, you would see that thoses are just pytorch saved weights, so for sure it will not work using pickle....