timothybrooks / instruct-pix2pix

Other
6.1k stars 527 forks source link

The edit_cli runs well but edit_app returns nothing. #115

Open HelloRicky123 opened 8 months ago

HelloRicky123 commented 8 months ago

Hi, thanks for the excellent work.

I have configured the repository according to the instructions provided in the README document. The edit_cli runs well and produces the edited image as the output, saved under the file name "output.jpg". The edit_app is executable and capable of generating the corresponding web link. However, upon attempting to upload the image onto the web, input the instructional text, and click the generate button, the web application persists in its processing without yielding any results. Furthermore, no errors or issues are being displayed in the command line interface. Would you kindly assist me in resolving this predicament?

I have established the repository on a server and have proceeded to access the associated web link on my localhost.

Thanks

BrianLiu666 commented 1 month ago

Hi, Thanks for your comments

I am confused when I run the edit_cli.py , there is a error ImportError: cannot import name 'treemap' from 'torch.utils._pytree' (/home/litaoliu/anaconda3/envs/ip2p/lib/python3.8/site-packages/torch/utils/_pytree.py)

Have you meet that? If so, would you please tell me how to solve it ? Thanks for help.

Hi, Thanks for your comments

I am confused when I run the edit_cli.py , there is a error ImportError: cannot import name 'treemap' from 'torch.utils._pytree' (/home/litaoliu/anaconda3/envs/ip2p/lib/python3.8/site-packages/torch/utils/_pytree.py)

Have you meet that? If so, would you please tell me how to solve it ? Thanks for help.