Open KiwiFPVHarry opened 2 weeks ago
Which cuda version? Did you just install it? For gpu acceleration I believe you need cuda version 11.8.
On Fri, Oct 25, 2024, 4:56 PM KiwiFPVHarry @.***> wrote:
Hi, thank you for the program..unfortunately both of them create an error (with png and 32bit (IEEE) TIFF files):
Using device: cuda Sharpening Image: Stack_34frames_161s.png Total Chunks: 252 Stellar Sharpening: Traceback (most recent call last): File "Python Code\SetiAstroCosmicClarity.py", line 852, in File "Python Code\SetiAstroCosmicClarity.py", line 755, in process_images File "Python Code\SetiAstroCosmicClarity.py", line 582, in sharpen_image File "torch\nn\modules\module.py", line 1553, in _wrapped_call_impl File "torch\nn\modules\module.py", line 1562, in _call_impl File "Python Code\SetiAstroCosmicClarity.py", line 117, in forward File "torch\nn\modules\module.py", line 1553, in _wrapped_call_impl File "torch\nn\modules\module.py", line 1562, in _call_impl File "torch\nn\modules\container.py", line 219, in forward File "torch\nn\modules\module.py", line 1553, in _wrapped_call_impl File "torch\nn\modules\module.py", line 1562, in _call_impl File "torch\nn\modules\conv.py", line 458, in forward File "torch\nn\modules\conv.py", line 454, in _conv_forward RuntimeError: CUDA error: an illegal memory access was encountered CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1 Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
[PYI-10236:ERROR] Failed to execute script 'SetiAstroCosmicClarity' due to unhandled exception!
System is I5 with NVIDIA RTX 3060 with latest drivers. Python also installed from Windwos store. Windows 11
Cheers Harry
— Reply to this email directly, view it on GitHub https://github.com/setiastro/cosmicclarity/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIBBIZINVR4QS5O7RX2HQ5DZ5K47BAVCNFSM6AAAAABQUC6ZMWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTKMRQGU3DMNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I have also seen that if i overclock my gpu to high
On Fri, Oct 25, 2024, 5:04 PM Seti Astro @.***> wrote:
Which cuda version? Did you just install it? For gpu acceleration I believe you need cuda version 11.8.
On Fri, Oct 25, 2024, 4:56 PM KiwiFPVHarry @.***> wrote:
Hi, thank you for the program..unfortunately both of them create an error (with png and 32bit (IEEE) TIFF files):
Using device: cuda Sharpening Image: Stack_34frames_161s.png Total Chunks: 252 Stellar Sharpening: Traceback (most recent call last): File "Python Code\SetiAstroCosmicClarity.py", line 852, in File "Python Code\SetiAstroCosmicClarity.py", line 755, in process_images File "Python Code\SetiAstroCosmicClarity.py", line 582, in sharpen_image File "torch\nn\modules\module.py", line 1553, in _wrapped_call_impl File "torch\nn\modules\module.py", line 1562, in _call_impl File "Python Code\SetiAstroCosmicClarity.py", line 117, in forward File "torch\nn\modules\module.py", line 1553, in _wrapped_call_impl File "torch\nn\modules\module.py", line 1562, in _call_impl File "torch\nn\modules\container.py", line 219, in forward File "torch\nn\modules\module.py", line 1553, in _wrapped_call_impl File "torch\nn\modules\module.py", line 1562, in _call_impl File "torch\nn\modules\conv.py", line 458, in forward File "torch\nn\modules\conv.py", line 454, in _conv_forward RuntimeError: CUDA error: an illegal memory access was encountered CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1 Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
[PYI-10236:ERROR] Failed to execute script 'SetiAstroCosmicClarity' due to unhandled exception!
System is I5 with NVIDIA RTX 3060 with latest drivers. Python also installed from Windwos store. Windows 11
Cheers Harry
— Reply to this email directly, view it on GitHub https://github.com/setiastro/cosmicclarity/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIBBIZINVR4QS5O7RX2HQ5DZ5K47BAVCNFSM6AAAAABQUC6ZMWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTKMRQGU3DMNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Have installed CUDA 12 toolkit from NVIDIA - no overclocking whatsoever...error has slightly cahnged...:
Using device: cuda
Sharpening Image: testimage.tif
Total Chunks: 120
Stellar Sharpening:
Progress: 0.83% (1/120 chunks processed)Traceback (most recent call last):
File "Python Code\SetiAstroCosmicClarity.py", line 852, in TORCH_USE_CUDA_DSA
to enable device-side assertions.
https://www.rc-astro.com/gpu-acceleration-for-ai-powered-tools/
This is probably one of the best step by step guides to getting gpu acceleration working. You should really try cuda 11.8 as well. You dont need to get tensorflow.dll as my program uses pytorch instead
On Fri, Oct 25, 2024, 5:58 PM KiwiFPVHarry @.***> wrote:
Have installed CUDA 12 toolkit from NVIDIA - no overclocking whatsoever...error has slightly cahnged...: Using device: cuda Sharpening Image: testimage.tif Total Chunks: 120 Stellar Sharpening: Progress: 0.83% (1/120 chunks processed)Traceback (most recent call last): File "Python Code\SetiAstroCosmicClarity.py", line 852, in File "Python Code\SetiAstroCosmicClarity.py", line 755, in process_images File "Python Code\SetiAstroCosmicClarity.py", line 582, in sharpen_image RuntimeError: CUDA error: misaligned address CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1 Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
— Reply to this email directly, view it on GitHub https://github.com/setiastro/cosmicclarity/issues/3#issuecomment-2439008601, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIBBIZLE2RTDWBPEO2E2E43Z5LEIBAVCNFSM6AAAAABQUC6ZMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZGAYDQNRQGE . You are receiving this because you commented.Message ID: @.***>
have now installed CUDA 11.8, pytorch and followed the article..still no fun...:( might come back to it later with a new set of eyes..
I can give you the raw python file too and you can see if you can run it that way too.
Does it run if you turn gpu acceleration off? It shpuld still work on the cpu.
On Fri, Oct 25, 2024, 8:34 PM KiwiFPVHarry @.***> wrote:
have now installed CUDA 11.8, pytorch and followed the article..still no fun...:( might come back to it later with a new set of eyes..
— Reply to this email directly, view it on GitHub https://github.com/setiastro/cosmicclarity/issues/3#issuecomment-2439163025, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIBBIZNOQ5WV3UT3OKBU6TLZ5LWTNAVCNFSM6AAAAABQUC6ZMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZGE3DGMBSGU . You are receiving this because you commented.Message ID: @.***>
havent tried the GPU turning off..might give that a go..is the py file the one from your repo?
yes
https://github.com/setiastro/cosmicclarity/blob/main/SetiAstroCosmicClarity.py
if it doesnt work with cpu only then there is something else going on with your computer
On Fri, Oct 25, 2024 at 8:46 PM KiwiFPVHarry @.***> wrote:
havent tried the GPU turning off..might give that a go..is the py file the one from your repo?
— Reply to this email directly, view it on GitHub https://github.com/setiastro/cosmicclarity/issues/3#issuecomment-2439168635, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIBBIZO5DL7ZQRYUS6AEPMLZ5LX65AVCNFSM6AAAAABQUC6ZMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZGE3DQNRTGU . You are receiving this because you commented.Message ID: @.***>
--
must be something else..the py file does nothing at all it seems to run but no output..the CPU seems to be the type without integrated graphics..must be all on my side. As a ncie to have though it might be beneficial to add a minimum specs to the scripts/programs (it might be somehwere already and I just have my man eyes on..;)
My cpu doesnt have integrated graphics at all. Are you saying it wont even run om your cpu? It should give you some kind of error. There shouldnt be a "minimum" requirement to run it.
On Fri, Oct 25, 2024, 9:08 PM KiwiFPVHarry @.***> wrote:
must be something else..the py file does nothing at all it seems to run but no output..the CPU seems to be the type without integrated graphics..must be all on my side. As a ncie to have though it might be beneficial to add a minimum specs to the scripts/programs (it might be somehwere already and I just have my man eyes on..;)
— Reply to this email directly, view it on GitHub https://github.com/setiastro/cosmicclarity/issues/3#issuecomment-2439177326, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIBBIZM2MYIWX6M4ZT433MDZ5L2QZAVCNFSM6AAAAABQUC6ZMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZGE3TOMZSGY . You are receiving this because you commented.Message ID: @.***>
sorry I thought I knew how to just run on CPU rather than GPU..quick help?
There is a dropdown in the gui to disable gpu acceleration. Or in the python code replace cuda with cpu will force it to cpu too
On Fri, Oct 25, 2024, 9:49 PM KiwiFPVHarry @.***> wrote:
sorry I thought I knew how to just run on CPU rather than GPU..quick help?
— Reply to this email directly, view it on GitHub https://github.com/setiastro/cosmicclarity/issues/3#issuecomment-2439194432, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIBBIZJJ256M36IY32EW7WLZ5L7K7AVCNFSM6AAAAABQUC6ZMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZGE4TINBTGI . You are receiving this because you commented.Message ID: @.***>
ok that has worked..obviously something wrong with my set up drivers etc....thank you again for the program and the prompt help Clear Skies from Aotearo ciao Harry
Hi, thank you for the program..unfortunately both of them create an error (with png and 32bit (IEEE) TIFF files):
Using device: cuda Sharpening Image: Stack_34frames_161s.png Total Chunks: 252 Stellar Sharpening: Traceback (most recent call last): File "Python Code\SetiAstroCosmicClarity.py", line 852, in
File "Python Code\SetiAstroCosmicClarity.py", line 755, in process_images
File "Python Code\SetiAstroCosmicClarity.py", line 582, in sharpen_image
File "torch\nn\modules\module.py", line 1553, in _wrapped_call_impl
File "torch\nn\modules\module.py", line 1562, in _call_impl
File "Python Code\SetiAstroCosmicClarity.py", line 117, in forward
File "torch\nn\modules\module.py", line 1553, in _wrapped_call_impl
File "torch\nn\modules\module.py", line 1562, in _call_impl
File "torch\nn\modules\container.py", line 219, in forward
File "torch\nn\modules\module.py", line 1553, in _wrapped_call_impl
File "torch\nn\modules\module.py", line 1562, in _call_impl
File "torch\nn\modules\conv.py", line 458, in forward
File "torch\nn\modules\conv.py", line 454, in _conv_forward
RuntimeError: CUDA error: an illegal memory access was encountered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with
TORCH_USE_CUDA_DSA
to enable device-side assertions.[PYI-10236:ERROR] Failed to execute script 'SetiAstroCosmicClarity' due to unhandled exception!
System is I5 with NVIDIA RTX 3060 with latest drivers. Python also installed from Windwos store. Windows 11
Cheers Harry