taming-transformers
taming-transformers copied to clipboard
Colab Issue
I am really enjoying experimenting with this! I found a cell error in the Colab notebook, and just ignored it and proceeded with subsequent cells. The cell in question is the one producing the 2nd segmentation. Error:
IndexError Traceback (most recent call last)
IndexError: tuple index out of range
I have the same error I'm going to try to figure it out.
I also got the same error
I had the same problem, but I changed it to the following and it worked.
not worked
assert c_code.shape[2]*c_code.shape[3] == c_indices.shape[1]
worked
assert c_code.shape[2]*c_code.shape[3] == c_indices.shape[0]
@takuya-andou that does fix it. Thanks! Now, I am wondering about the color coding of segmentation maps (how to choose the proper colors), but that is another topic so I'll research.