8000 labels_camp = torch.from_numpy(labels_camp).permute([0,3,1,2]) · Issue #23 · rulixiang/afa · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

labels_camp = torch.from_numpy(labels_camp).permute([0,3,1,2]) #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
massica17 opened this issue Mar 26, 2023 · 1 comment
Open

labels_camp = torch.from_numpy(labels_camp).permute([0,3,1,2]) #23

massica17 opened this issue Mar 26, 2023 · 1 comment

Comments

@massica17
Copy link

labels_camp = torch.from_numpy(labels_camp).permute([0,3,1,2])
请问为什么gts变量(1,512,512)在进入tensorboard_label后不应该有四维,请问是label的格式错误了么?
我下载的就是md里面要求的Aug

@massica17
Copy link
Author

当batchsize = 1 时会报错

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

No branches or pull requests

1 participant
0