Skip to content
Snippets Groups Projects

Breaking Change: Making key objects picklable

Merged Tiago de Freitas Pereira requested to merge dask-pipelines into master
1 unresolved thread

As mentioned in bob.bio.face!64 (merged) the small hacks made in bob.bio.base to handle pickled stuff is giving more headaches than it should.

So, I decided to make some key objects picklable.

Edited by Tiago de Freitas Pereira

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
78 return d
79
80 def __setstate__(self, d):
81 self.__dict__ = d
82 shape = self.gmm_shape_from_dict(d)
83 self.__init__(shape[0], shape[1])
84 self.update_dict(d)
85
86
87 class ISVBase(_ISVBase_C):
88 __doc__ = _ISVBase_C.__doc__
89
90 @staticmethod
91 def to_dict(isv_base):
92 isv_data = dict()
93 isv_data["gmm"] = GMMMachine.to_dict(isv_base.ubm)
  • changed milestone to %Bob 9.0.0

  • going back to this one.

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 5921c042 - Removed Z-T-ZT Normalization from this package

    Compare with previous version

  • Tiago de Freitas Pereira unmarked as a Work In Progress

    unmarked as a Work In Progress

  • I'll merge this one.

    • IVector
    • JFA
    • Kmeans
    • PLDA

    is missing.

    I'll push this in other MR

  • mentioned in commit 4cfcee92

  • Tiago de Freitas Pereira changed title from Making key objects picklable to Breaking Change: Making key objects picklable

    changed title from Making key objects picklable to Breaking Change: Making key objects picklable

  • Please register or sign in to reply
    Loading