Open Hamdan85 opened 2 years ago
What transformers version do you use?
It may be an issue with the new changes in master
branch.
Edit: oh, I guess you're using the colab which uses master
branch
I think the issue is fixed
TypeError Traceback (most recent call last)
[<ipython-input-4-fa25138b8662>](https://localhost:8080/#) in <module>()
10
11 # Load VQGAN
---> 12 vqgan = VQModel.from_pretrained(VQGAN_REPO, revision=VQGAN_COMMIT_ID)
13
14 # Load CLIP
1 frames
[/usr/local/lib/python3.7/dist-packages/vqgan_jax/modeling_flax_vqgan.py](https://localhost:8080/#) in __init__(self, config, input_shape, seed, dtype, **kwargs)
592 **kwargs,
593 ):
--> 594 module = self.module_class(config=config, dtype=dtype, **kwargs)
595 super().__init__(config,
596 module,
TypeError: __init__() got an unexpected keyword argument '_do_init'
Thanks, it was an issue from another repo but should be fixed now
Initialization failure