Diverse-Structure-Inpainting icon indicating copy to clipboard operation
Diverse-Structure-Inpainting copied to clipboard

Long processing time

Open chandniagarwal opened this issue 2 years ago • 10 comments

I have used repo last year and use in my research paper for analysis, I need to re-run the code. Now after using GPU - premium on colab it is taking more than 4 minutes to process. I am using pre-trained celeba-random model downloaded from repo.

URGENT HELP

chandniagarwal avatar Feb 18 '23 18:02 chandniagarwal

Nothing has changed in our code. I wonder if your experimental environment has changed.

USTC-JialunPeng avatar Feb 19 '23 15:02 USTC-JialunPeng

I am using code on colab Python version 3.8 And tensorflow 2. Version

I want help in code in setting up Cuda environment with Python and tensorflow versions to run the code asap.

Your help is highly appreciated.

Regards

On Sun, 19 Feb 2023, 21:17 USTC-JialunPeng, @.***> wrote:

Nothing has changed in our code. I wonder if your experimental environment has changed.

— Reply to this email directly, view it on GitHub https://github.com/USTC-JialunPeng/Diverse-Structure-Inpainting/issues/29#issuecomment-1436022481, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJSE432XVI5OV7BRRIY3U3WYI6CZANCNFSM6AAAAAAVAP6D3E . You are receiving this because you authored the thread.Message ID: @.*** com>

chandniagarwal avatar Feb 19 '23 17:02 chandniagarwal

We have only tested our models on tensorflow 1.x Version. Have you tried tensorflow 1.x?

USTC-JialunPeng avatar Feb 20 '23 03:02 USTC-JialunPeng

Yes It was working fine last year. Now not working.

On Mon, 20 Feb 2023, 09:08 USTC-JialunPeng, @.***> wrote:

We have only tested our models on tensorflow 1.x Version. Have you tried tensorflow 1.x?

— Reply to this email directly, view it on GitHub https://github.com/USTC-JialunPeng/Diverse-Structure-Inpainting/issues/29#issuecomment-1436275319, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJSE46WOEC32BLDA5EKNZLWYLRJTANCNFSM6AAAAAAVAP6D3E . You are receiving this because you authored the thread.Message ID: @.*** com>

chandniagarwal avatar Feb 20 '23 07:02 chandniagarwal

Since we've been using PyTorch for the last two years, we're sorry we couldn't help set up the CUDA environment with TensorFlow.

USTC-JialunPeng avatar Feb 20 '23 07:02 USTC-JialunPeng

Could you please help me in running the code I have to run on 2000 images Can I run this using pytorch then please tell the way. Help is highly appreciated.

On Mon, 20 Feb 2023, 13:24 USTC-JialunPeng, @.***> wrote:

Since we've been using PyTorch for the last two years, we're sorry we couldn't help set up the CUDA environment with TensorFlow.

— Reply to this email directly, view it on GitHub https://github.com/USTC-JialunPeng/Diverse-Structure-Inpainting/issues/29#issuecomment-1436498268, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJSE4476Q6B65RGBX47SGLWYMPMXANCNFSM6AAAAAAVAP6D3E . You are receiving this because you authored the thread.Message ID: @.*** com>

chandniagarwal avatar Feb 20 '23 09:02 chandniagarwal

We haven't implemented the PyTorch version of this work. You can use multiple GPUs to run on 2000 images in parallel.

USTC-JialunPeng avatar Feb 20 '23 09:02 USTC-JialunPeng

Using GPU Is my requirement please help

On Mon, 20 Feb 2023, 14:56 USTC-JialunPeng, @.***> wrote:

We haven't implemented the PyTorch version of this work. You can use multiple GPUs to run on 2000 images in parallel.

— Reply to this email directly, view it on GitHub https://github.com/USTC-JialunPeng/Diverse-Structure-Inpainting/issues/29#issuecomment-1436617766, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJSE465VQNYZ7J7KQONEATWYM2DRANCNFSM6AAAAAAVAP6D3E . You are receiving this because you authored the thread.Message ID: @.*** com>

chandniagarwal avatar Feb 20 '23 14:02 chandniagarwal

We do not have an available CUDA environment with TensorFlow on hand. I'm afraid we can't help you run the code.

USTC-JialunPeng avatar Feb 20 '23 14:02 USTC-JialunPeng

Thanks for all reply.

Is it possible to run it on Pycharm on desktop I am getting shape error when I run the code on desktop version

On Mon, Feb 20, 2023 at 8:29 PM USTC-JialunPeng @.***> wrote:

We do not have an available CUDA environment with TensorFlow on hand. I'm afraid we can't help you run the code.

— Reply to this email directly, view it on GitHub https://github.com/USTC-JialunPeng/Diverse-Structure-Inpainting/issues/29#issuecomment-1437153100, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJSE472NNQANOWHP7F72UDWYOBGZANCNFSM6AAAAAAVAP6D3E . You are receiving this because you authored the thread.Message ID: @.*** com>

chandniagarwal avatar Feb 20 '23 16:02 chandniagarwal