Open miki0902 opened 1 month ago
Hi,
You can delete or comment anything related to "petrel" such as: https://github.com/sdc17/UPop/blob/6aae798a9a576cf001ab1ca27b5afc15cbeeda46/clip/clip.py#L16
This is an optional package used to load data. The code will also work without this package.
返信ありがとうございます
インポートをコメントした場合、編集するべきコードはありますか 現状NameError: name 'Client' is not definedというエラーが出ています
Thanks for the reply.
Is there any code I should edit if I commented the import I am getting an error that says Current NameError: name 'Client' is not defined
こんにちは、Clientに関する箇所を編集したら、別のエラーにたどり着きました ImportError: cannot import name '_scaled_dot_product_attention' from 'torch.nn.functional' と出ており,torchのバージョンが原因であると考えられています 現在私の環境ではversion2.4.1を使用していますが,推奨しているversionはありますか
Hi, I edited the part about Client and got to another error ImportError: cannot import name '_scaled_dot_product_attention' from 'torch.nn.functional' and I believe it is due to the version of torch I am currently using version 2.4.1. Is there a recommended version?
`***** Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
/root/miniconda3/envs/upop/lib/python3.8/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: libtorch_cuda_cu.so: cannot open shared object file: No such file or directory
warn(f"Failed to load image Python extension: {e}")
/root/miniconda3/envs/upop/lib/python3.8/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: libtorch_cuda_cu.so: cannot open shared object file: No such file or directory
warn(f"Failed to load image Python extension: {e}")
Traceback (most recent call last):
File "compress_retrieval_clip.py", line 24, in
Hi,
Torch 1.x is recommended.
https://github.com/sdc17/UPop/blob/6aae798a9a576cf001ab1ca27b5afc15cbeeda46/README.md?plain=1#L76
Thank you. I was able to move it safely !
こんにちは UPopをCLIPで適用しようとすると ModuleNotFoundError: No module named 'petrel_client' のようなエラーが出ます. 自分なりにはclipディレクトリにpetrel_clientディレクトリが無いためエラーが出ていると考えています. ただし,自分はまだ初学者で間違えている可能性もあるので知識のある方にアドバイスと解決策を教えていただきたいです よろしくお願いします 以下に自分のclipディレクトリとエラー文を添付します
Hello. When I try to apply UPop with CLIP, I get ModuleNotFoundError: No module named 'petrel_client' I think the error is because there is no petrel_client directory in the CLIP directory. I think the error is because there is no petrel_client directory in the clip directory. However, I am still a beginner, and there is a possibility that I am wrong, so I would like to get advice and solutions from someone with knowledge. Thank you in advance. I have attached my clip directory and the error text below.
您好。 当我尝试用 CLIP 应用 UPop 时 模块未找到错误:没有名为 “petrel_client ”的模块 我收到类似 “ModuleNotFoundError: No module named ‘petrel_client’”的错误。 我认为这个错误是因为在 clip 目录中没有 petrel_client 目录。 不过,我还是个初学者,可能会出错,所以我希望能从有知识的人那里获得建议和解决方案。 提前感谢您的帮助。 我将剪辑目录和错误文本附在下面。