Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
U-Net runs very slowly
#1
Photo 
Hello everyone!

I have written a U-Net with TensorFlow (see attachment). With this I want to predict CT images from MR images. It's nothing fancy and the code is very well commented.

I started training over 5 hours ago (112 concatenated 3D MR/CT images as training and 25 concatenated 3D MR/CT images as validation) and it’s not even through the first of 50 epochs.

One guess is that Spyder is not using the available 32 processor cores and/or not using the Quadro GV100 32 GB GPU. I also have 512 GB of RAM at my disposal.

The only thing I did in the Python code regarding multiprocessing is to set use_multiprocessing=True.


Thanks in advance for ANY support!
Larz60+ write Aug-25-2023, 01:21 PM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.

Attached Files

.py   U-Net.py (Size: 2.98 KB / Downloads: 3)
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020