cvlab-columbia / viper

Code for the paper "ViperGPT: Visual Inference via Python Execution for Reasoning"
Other
1.65k stars 115 forks source link

ModuleNotFoundError: No module named 'IPython.kernel' #32

Open ontheway-arch opened 1 year ago

ontheway-arch commented 1 year ago

When I run the file of main_simple.ipynb,it gives ModuleNotFoundError: No module named 'IPython.kernel'. image

surisdi commented 1 year ago

Is jupyter installed? (see this line in the requirements.txt file). Did you follow the installation instructions in the README?

ontheway-arch commented 1 year ago

I solved this problem, but I find another error image

image

cuda version:11.3 python version:3.10

surisdi commented 1 year ago

That error means that you do not have enough GPU RAM memory in your machine. You can try using a smaller BLIP2 model.

ontheway-arch commented 1 year ago

I changed the “blip_v2_model_type” parameter in the base_config.yaml file to "blip2-opt-2.7b", but it doesn't work I now have four 3090 available, But don't know how to setup four 3090 to run the code.