sdv-dev / SDV

Synthetic data generation for tabular data
https://docs.sdv.dev/sdv
Other
2.33k stars 305 forks source link

load pickle model error #1861

Closed Ng-ms closed 5 months ago

Ng-ms commented 6 months ago

Environment Details

Please indicate the following details about the environment in which you found the bug:

I trained my PARsyntheizer on SDV 1.9.0 , and after saving the model I am trying to load the pkl model to generate more data but I am getting this error


AttributeError: Can't get attribute '_unpickle_block' on <module 'pandas._libs.internals' from '/ficheros/BSC/.local/lib/python3.8/site-packages/pandas/_libs/internals.cpython-38-x86_64-linux-gnu.so'>
srinify commented 6 months ago

Hi @Ng-ms can you share the versions of pandas you had before (when you trained PARSynthesizer) and after / now (when you tried to load the model).

import pandas
print(pandas.__version__)
srinify commented 6 months ago

Hi @Ng-ms just following up :)

srinify commented 5 months ago

Closing this issue for now. Feel free to reply and re-open the issue though :)