Skip to content
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

"pipe:ssh -i ~/.ssh/id_rsa [email protected] cat /mnt/data_rome/laion/improved_aesthetics_6plus/ims" #89

Open
Xuzhenhao186 opened this issue Dec 12, 2023 · 0 comments

Comments

@Xuzhenhao186
Copy link

@justinpinkney hello, excuse me,
the first question is:1. for the command:"pipe:ssh -i ~/.ssh/id_rsa [email protected] cat /mnt/data_rome/laion/improved_aesthetics_6plus/ims",why the tar_base can't be visited and the dataset can't be visited.Do I need download the dataset to local?
the second question is : 2.I want to finetune image variation,I want to use my own data,but when I refer to your code,the sd-image-condition-attn-finetune.yaml is :
data:
target: main.DataModuleFromConfig
params:
batch_size: 4
num_workers: 2
num_val_workers: 0
train:
target: ldm.data.simple.FolderData
params:
root_dir: /data/xuzhenhao/ControlNet1/training/texture
ext: jpg
image_transforms:
- target: torchvision.transforms.Resize
params:
size: 256
interpolation: 3
- target: torchvision.transforms.RandomCrop
params:
size: 256
validation:
target: ldm.data.simple.FolderData
params:
root_dir: /data/xuzhenhao/ControlNet1/training/texture
ext: jpg
image_transforms:
- target: torchvision.transforms.Resize
params:
size: 256
interpolation: 3
- target: torchvision.transforms.CenterCrop
params:
size: 256
however,I find that in the FolderData class,why only have a data["image"],I think training need two image condition,one for clip encoder,one for noise and groundtruth, and why need data["txt"],Why need text for image variation?
I sincerely thank you,hope a detailed answer.

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