Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] i am not able to do save dmrl.save() in Disentangled Multimodal Representation Learning for Recommendation (DMRL) #656

Open
AnkurK07 opened this issue Jan 8, 2025 · 1 comment

Comments

@AnkurK07
Copy link

AnkurK07 commented Jan 8, 2025

Description

while doing dmrl.save('path') , i am not able to save my model.
TypeError Traceback (most recent call last)
in <cell line: 1>()
----> 1 dmrl.save('model')

19 frames
/usr/lib/python3.10/copy.py in deepcopy(x, memo, _nil)
159 reductor = getattr(x, "reduce_ex", None)
160 if reductor is not None:
--> 161 rv = reductor(4)
162 else:
163 reductor = getattr(x, "reduce", None)

TypeError: cannot pickle 'tensorflow.python.lib.io._pywrap_file_io.WritableFile' object

In which platform does it happen?

Google Colab

How do we replicate the issue?

Solve this issue

Expected behavior (i.e. solution)

It will be able to save.

Other Comments

@AnkurK07 AnkurK07 changed the title [BUG] i am not able to do save dmrl.save() [BUG] i am not able to do save dmrl.save() in Disentangled Multimodal Representation Learning for Recommendation (DMRL) Jan 8, 2025
@Nishant-Rajj
Copy link

facing the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants