-
Notifications
You must be signed in to change notification settings - Fork 0
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
Issue in Transformation Step Code #1
Comments
Dear Sara A. Al-Emadi, The typo is corrected and the new code is if opt.dataset == "PACS_augmentation":
dataset = onedomainPACS(root = "~/Data/", test_envs = opt.domain_index, data_augmentation = False, image_size = 256) Thank you for your interest in our work and for pointing out this typo. Best, |
Hi, Thanks @yu-rp, the above solution resolved this error. However, I am getting the error below now, although I tried to resolve the issue of the dataset path by changing the path wherever it was called to where the dataset is located in my directory. However, for some reason "/home/yurunpeng" is still appended to the dataset path. Kindly let me know how to resolve this issue. Thanks. Regards,
|
Hi @saraalemadi , Thank you for pointing out this issue. We have removed the path of our server from the code. To adapt to your environment, you may also consider using this function to modify the path. Could you please let us know whether the new code works for you? Best |
Hi,
I am trying to replicate your experiments. I was able to successfully follow the Finetuning of Diffusion Model
step mentioned here. However, when I tried running the code provided for the Transformation step, I get the following error:
When I commented out:
print(outstr)
and changed the --dataset PACS_Augmentation to PACS, I got the following error:Therefore, I would greatly appreciate your clarification on how to run this step.
Thanks.
Sara A. Al-Emadi
The text was updated successfully, but these errors were encountered: