Traceback (most recent call last):


 "scratch/missing-field-nested-bug.py", line 72, in <module>

result = HostSchema().dump(host)


 "/Users/kai/.virtualenvs/SPEZZI/lib/python2.7/site-packages/marshmallow/schema.py", line 509, in dump

**kwargs


 "/Users/kai/.virtualenvs/SPEZZI/lib/python2.7/site-packages/marshmallow/marshalling.py", line 138, in serialize

index=(index if index_errors else None)


 "/Users/kai/.virtualenvs/SPEZZI/lib/python2.7/site-packages/marshmallow/marshalling.py", line 62, in call_and_store

value = getter_func(data)


 "/Users/kai/.virtualenvs/SPEZZI/lib/python2.7/site-packages/marshmallow/marshalling.py", line 132, in <lambda>

getter = lambda d: field_obj.serialize(attr_name, d, accessor=accessor)


 "/Users/kai/.virtualenvs/SPEZZI/lib/python2.7/site-packages/marshmallow/fields.py", line 252, in serialize

return self._serialize(value, attr, obj)


 "/Users/kai/.virtualenvs/SPEZZI/lib/python2.7/site-packages/marshmallow/fields.py", line 447, in _serialize

schema._update_fields(obj=nested_obj, many=self.many)


 "/Users/kai/.virtualenvs/SPEZZI/lib/python2.7/site-packages/marshmallow/schema.py", line 767, in _update_fields

self.__set_field_attrs(ret)


 "/Users/kai/.virtualenvs/SPEZZI/lib/python2.7/site-packages/marshmallow/schema.py", line 788, in __set_field_attrs

field_obj._add_to_schema(field_name, self)
AttributeError: 'NoneType' object has no attribute '_add_to_schema'

Traceback (most recent call last):


 "jukebox/sample.py", line 275, in <module>

fire.Fire(run)


 "/opt/miniconda/lib/python3.7/site-packages/fire/core.py", line 127, in Fire

component_trace = _Fire(component, args, context, name)


 "/opt/miniconda/lib/python3.7/site-packages/fire/core.py", line 366, in _Fire

component, remaining_args)


 "/opt/miniconda/lib/python3.7/site-packages/fire/core.py", line 542, in _CallCallable

result = fn(*varargs, **kwargs)


 "jukebox/sample.py", line 272, in run

save_samples(model, device, hps, sample_hps)


 "jukebox/sample.py", line 223, in save_samples

labels = [prior.labeller.get_batch_labels(metas, 'cuda') for prior in priors ]


 "jukebox/sample.py", line 223, in <listcomp>

labels = [prior.labeller.get_batch_labels(metas, 'cuda') for prior in priors ]


 "/opt/miniconda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 576, in __getattr__

type(self).__name__, name))
AttributeError: 'SimplePrior' object has no attribute 'labeller'
