is there some limitation on what kind of objects a...
# ask-metaflow
w
is there some limitation on what kind of objects are able to be serialized in
self
? I'm getting an error about "weakly-referenced object no longer exists", which I believe is coming from my pytorch model. I'm also not directly creating any weakly referenced objects in my code (to the best of my knowledge anyway)
Copy code
2023-01-27T03:45:37.502-08:00	File "/metaflow/metaflow/datastore/task_datastore.py", line 282, in pickle_iter
	2023-01-27T03:45:37.502-08:00	blob = pickle.dumps(obj, protocol=2)
	2023-01-27T03:45:37.502-08:00	ReferenceError: weakly-referenced object no longer exists
1