-
Notifications
You must be signed in to change notification settings - Fork 64
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
Key 'severity' is not in struct #16
Comments
I have same error. |
same |
same, is it solved? |
I have already received your e-mail,Thanks a lot!我已收到您发送的邮件,感谢您的来信!
|
same, is it solved? |
I have already received your e-mail,Thanks a lot!我已收到您发送的邮件,感谢您的来信!
|
问题解决了嘛,求助万能的网友 |
same, is it solved? |
I have already received your e-mail,Thanks a lot!我已收到您发送的邮件,感谢您的来信!
|
same, is it solved??? |
I have already received your e-mail,Thanks a lot!我已收到您发送的邮件,感谢您的来信!
|
I have already received your e-mail,Thanks a lot!我已收到您发送的邮件,感谢您的来信!
|
1 similar comment
I have already received your e-mail,Thanks a lot!我已收到您发送的邮件,感谢您的来信!
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am having this error. I have moved the train_ddpm.py and train_vqgan.py file in the medicaldiffusion-master directory. My dataset is also in the same directory.
My given command was:
PL_TORCH_DISTRIBUTED_BACKEND=gloo python train_vqgan.py dataset=brats dataset.root_dir='imagesTr/' model=vq_gan_3d model.gpus=1 model.default_root_dir_postfix='flair' model.precision=16 model.embedding_dim=8 model.n_hiddens=16 model.downsample=[2,2,2] model.num_workers=32 model.gradient_clip_val=1.0 model.lr=3e-4 model.discriminator_iter_start=10000 model.perceptual_weight=4 model.image_gan_weight=1 model.video_gan_weight=1 model.gan_feat_weight=4 model.batch_size=2 model.n_codes=16384 model.accumulate_grad_batches=1
The Error Message:
Traceback (most recent call last): File "train_vqgan.py", line 20, in run train_dataset, val_dataset, sampler = get_dataset(cfg)
File "home/medicaldiffusion-master/train/get_dataset.py", line 16, in get_dataset root_dir=cfg.dataset.root_dir, imgtype=cfg.dataset.imgtype, train=True, severity=cfg.dataset.severity, resize=cfg.dataset.resize) omegaconf.errors.ConfigAttributeError: Key 'severity' is not in struct full_key: dataset.severity object_type=dict Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
The text was updated successfully, but these errors were encountered: