Skip to content

How would you save the symbols file? #1

@wmlba

Description

@wmlba

I am trying to use your network but I do not see how can I save the json symbol file so I can use the model.

You only save the params file but not the symbol file that is needed for predictions. When I try the below code:
y = capsnet(mx.sym.var('data'))
y.save('%s/model.json' % model_dir)
I get the error:

AttributeError: 'CapsNet' object has no attribute 'save'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions