-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
[<ipython-input-3-8c9f93f73c07>](https://yucuju2ns5m-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230307-060233-RC01_514758488#) in <module>
1 from ofasys import Task, Trainer, GeneralistModel
----> 2 task1 = Task(
3 name='caption',
4 instruction='[IMAGE:image_url] what does the image describe? -> [TEXT:caption]',
5 micro_batch_size=4,
[/usr/local/lib/python3.9/dist-packages/ofasys/task/base.py](https://yucuju2ns5m-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab-20230307-060233-RC01_514758488#) in __init__(self, cfg, **kwargs)
205 self.cfg.update(**kwargs)
206 self._generator = None
--> 207 self.diffuser_args = json.loads(cfg.diffuser_args) # accessed by the diffusion criterion and generator
208
209 self.datasets = {}
AttributeError: 'NoneType' object has no attribute 'diffuser_args'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels