Skip to content

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

@AnkurK07

Description

@AnkurK07

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions