Skip to content

fix Tensors must have same number of dimensions: got 1 and 2 in Cro…#291

Open
T-baby wants to merge 1 commit into
shenweichen:masterfrom
T-baby:master
Open

fix Tensors must have same number of dimensions: got 1 and 2 in Cro…#291
T-baby wants to merge 1 commit into
shenweichen:masterfrom
T-baby:master

Conversation

@T-baby

@T-baby T-baby commented Mar 8, 2024

Copy link
Copy Markdown

Fix the error "Tensors must have the same number of dimensions: got 1 and 2" in CrossNetMix. The function torch.squeeze(x_l) generates a one-dimensional vector.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant