Hi all!
I'm trying to run the matte_anything.py in Google Collab but get the following error:
`Initializing models... Please wait...
AssertionError Traceback (most recent call last)
[<ipython-input-8-a4065ac3ce58>](https://localhost:8080/#) in <cell line: 30>()
28 print('Initializing models... Please wait...')
29
---> 30 vitmatte = init_vitmatte(vitmatte_model)
4 frames
[/content/Matte-Anything/modeling/decoder/detail_capture.py](https://localhost:8080/#) in __init__(self, in_chans, img_chans, convstream_out, fusion_out)
110 ):
111 super().__init__()
--> 112 assert len(fusion_out) == len(convstream_out) + 1
113
114 self.convstream = ConvStream(in_chans = img_chans)
AssertionError:`
My initial thought was that it is related to the torch version, so I made sure I have a correct one: 2.0.0+cu117, but the error still persists.
Thanks in advance!
Hi all!
I'm trying to run the matte_anything.py in Google Collab but get the following error:
My initial thought was that it is related to the torch version, so I made sure I have a correct one: 2.0.0+cu117, but the error still persists.
Thanks in advance!