-
Notifications
You must be signed in to change notification settings - Fork 1
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
Issues during the reproduction process #5
Comments
Hi, I am sorry that I have not encountered this problem before. I have googled it and a possible reason could be incompatibility of package. Would you mind trying to follow this post by rolling back numpy to a version earlier than 2.0? and please tell me whether this is working or not afterward. |
Hi, Thank you for your help, yesterday I tried downgrading the version of NumPy to a version earlier than 2.0, and it worked fine. However, I encountered another issue, which is: torch.distributed.elastic.multiprocessing.errors.ChildFailedError. I am wondering if it might be because I don't have enough GPUs.
…________________________________
发件人: Xinghui-Li ***@***.***>
发送时间: 2024年12月16日 1:41
收件人: ActiveVisionLab/SD4Match ***@***.***>
抄送: bgnbl ***@***.***>; Author ***@***.***>
主题: Re: [ActiveVisionLab/SD4Match] Issues during the reproduction process (Issue #5)
Hi,
I am sorry that I have not encountered this problem before. I have googled it and a possible reason could be incompatibility of package. Would you mind trying to follow this post<https://stackoverflow.com/questions/75623118/valueerror-unable-to-create-tensor-issue-for-a-transformer-model> by rolling back numpy to a version earlier than 2.0? and please tell me whether this is working or not afterward.
―
Reply to this email directly, view it on GitHub<#5 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCTC4GOEWNKVD7LTTTIVOPL2FW5MLAVCNFSM6AAAAABTSEJIZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBTHE3TCMRZHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Yes, please check whether your number of GPUs matches the configuration in the bash script. The --num_processes should match the number of GPUs. |
When running the script, I encountered an error at Spair-7k indicating that the file SD4Match-main/asset/sd4match/log/spair/CPM_spair_sd2-1_Pair-DINO-Feat-G25-C50_constant_lr0.01/pytorch_model.bin is missing. Do I need to download this weight from Hugging Face myself, or is it something that shouldn't need to be provided?
…________________________________
发件人: Xinghui-Li ***@***.***>
发送时间: 2024年12月17日 3:03
收件人: ActiveVisionLab/SD4Match ***@***.***>
抄送: bgnbl ***@***.***>; Author ***@***.***>
主题: Re: [ActiveVisionLab/SD4Match] Issues during the reproduction process (Issue #5)
Yes, please check whether your number of GPUs matches the configuration in the bash script. The --num_processes should match the number of GPUs.
―
Reply to this email directly, view it on GitHub<#5 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BCTC4GIPD4BJQERFBPA7VW32F4PY5AVCNFSM6AAAAABTSEJIZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBWGQYTENRUHA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I encountered an error while running pre_computate-dino_feature. py:ValueError: Unable to create tensor, you should probably activate padding with 'padding=True' to have batched tensors with the same length.I added padding=True in: img=vision-processor (img, return_tensors="pt", padding=True) ["pixel_values"], but it still reported an error.
The text was updated successfully, but these errors were encountered: