cvlab-columbia / viper

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

How to address problems with generated code #4

Closed stevebottos closed 1 year ago

stevebottos commented 1 year ago

I've managed to bump up against an issue with the generated code: image Any recommended ways around this?

sachit-menon commented 1 year ago

Hi, this is an issue with the visualization function. We'll try to put together a fix. In the meantime, the code should run if you set show_intermediate_steps to False.

surisdi commented 1 year ago

Hi, it should work now with the latest commit.