-
Notifications
You must be signed in to change notification settings - Fork 120
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
Compilation issues after running setup.py inside GLIP directory #19
Comments
Hi Paola, The installation of GLIP worked properly, the message that you get is just a warning, you can safely ignore it. Regarding the error with protobuf, is it possible that you had a previous installation of tensorflow in the environment? Or you created the environment from scratch? What tensorflow version do you see if you run Thanks |
Hi, thanks for your response! Without the environment, I have no installation of tensorflow. When I activate the conda environment and run |
Yes, that is correct. Can you try this solution? Uninstall tensorflow and install it again. |
I did that, but I am still getting the same error when I try to do |
Can you try installing the version of |
It got installed with some dependency errors:
And now when I try running
I will try changing the version of |
Hey, just an update :) I reinstalled wandb and after running the library import python I got a different error (below), so I added this flag
I then recompiled and re ran the library import on python and it now loads BLIP but shows different errors:
Thank you for your patience so far! It's never pleasant to debug library incompatibility issues. |
I will need some time to try to reproduce this, but for now it looks like you only have warnings, and not errors. Does it work for you now? |
So far, it does not. When I run the functions from |
If you are using |
@paolaos Hi, Did you continue to solve this problem and use it later? I recently encountered the same problem in the configuration environment that can't be solved. Can you let me know if you have a good solution? Thanks in advance. |
Hi @iisxuwei, from the previous error/warning messages, which ones are you getting? |
Sorry for the late reply.
And I recompiled and ran the library import on python and it now loads the following error:
From the results, the config file can't be found in the cached file and i can't connect to 'huggingface.co' in this step for no reason. So i tried to use the offline-mode but i cant find the path to the 'bert-base-uncased'. I'm wondering whether the pytorch version 1.13 is not suitable for maskrcnn. |
Is the error related to maskrcnn? It looks like it may be related to the MiDaS model. May it be related to this issue?: huggingface/transformers#17611 (comment) |
Hello, When I run
Thanks |
Hello,
I followed the instructions in the README in order to install and run viper. After I do
cd GLIP
and runpython setup.py clean --all build develop --user
, I get a plenty ofDeprecatedTypeProperties& at::Tensor::type()
errors, which generally show this message:It does finish compiling with warnings, and when I try importing
main_simple_lib
inmain_simple.ipynb
I get (as expected) an error:I believe the problem could be related to an incompatibility between libraries, but I made sure to install everything from
requirements.txt
and have an active conda environment, so at this point I do not really know what else it could be. Does anyone know why I could be getting this issue? Thanks in advance 🥲The text was updated successfully, but these errors were encountered: