PicToPainting with Paint Shop pro 2019

Corel Paint Shop Pro

Moderator: Kathy_9

User avatar
iraisok
Posts: 133
Joined: Wed Nov 29, 2017 4:12 am
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Dell 0X501H
processor: Intel i7 960 Quad Core
ram: 24GB
Video Card: ATI Radeon HD 5870
sound_card: Creative Sound Blaster X-Fi Titanium
Hard_Drive_Capacity: 4.5 TB
Monitor/Display Make & Model: Dell U2410 24" Wide, Dell 1905FP 19"
Corel programs: PSP2019U, PhotoZoom7 Topaz Remask
Location: Southern California

Re: PicToPainting with Paint Shop pro 2019

Post by iraisok »

LeviFiction wrote:The latest version I was able to get working without issue was version 1.9. Anything after that complained of an unexpected argument. And I don't have time to investigate that. Do you want to try 1.9?
Hello Levi,

I'd be willing to try 1.9 and report back. Can easily revert back to 1.5.

Tnx,
Ira
PSP 2019U on my desktop with Win 10 Pro; PSP2023U on my laptop with Win 11 Home, each with GFRX, PicToPaint, Topaz ReMask, BenVista PhotoZoom 7 and a few personal scripts.
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: PicToPainting with Paint Shop pro 2019

Post by LeviFiction »

So, I found the old tests I sent you iraisok, and it included a copy of Tensorflow 1.5 to 1.12. It was self-compiled so I think that's why it worked as a test, but not as a drop-in for the plugin. And that all the newer libraries failed for you. So I don't think 1.9 will work.

However, if anyone wants to try Tensorflow 1.9 here is the folder for that - https://drive.google.com/file/d/1I5v77E ... sp=sharing

1.9 is the newest version I was able to get to work with a simple drop-in-place.
https://levifiction.wordpress.com/
User avatar
iraisok
Posts: 133
Joined: Wed Nov 29, 2017 4:12 am
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Dell 0X501H
processor: Intel i7 960 Quad Core
ram: 24GB
Video Card: ATI Radeon HD 5870
sound_card: Creative Sound Blaster X-Fi Titanium
Hard_Drive_Capacity: 4.5 TB
Monitor/Display Make & Model: Dell U2410 24" Wide, Dell 1905FP 19"
Corel programs: PSP2019U, PhotoZoom7 Topaz Remask
Location: Southern California

Re: PicToPainting with Paint Shop pro 2019

Post by iraisok »

LeviFiction wrote:So, I found the old tests I sent you iraisok, and it included a copy of Tensorflow 1.5 to 1.12. It was self-compiled so I think that's why it worked as a test, but not as a drop-in for the plugin. And that all the newer libraries failed for you. So I don't think 1.9 will work.

However, if anyone wants to try Tensorflow 1.9 here is the folder for that - https://drive.google.com/file/d/1I5v77E ... sp=sharing

1.9 is the newest version I was able to get to work with a simple drop-in-place.
Levi,

As you expected, 1.9 does not run for me. TensorFlow 1.5 with your mods to PTP run beautifully!

Thanks.
Ira
PSP 2019U on my desktop with Win 10 Pro; PSP2023U on my laptop with Win 11 Home, each with GFRX, PicToPaint, Topaz ReMask, BenVista PhotoZoom 7 and a few personal scripts.
RafaelLVX
Posts: 10
Joined: Tue Dec 13, 2016 3:56 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Re: PicToPainting with Paint Shop pro 2019

Post by RafaelLVX »

Yeah Tensorflow 1.9 didn't work here either. Anyway thanks for the help. I'll stick to 1.5, it works fine.
theavy
Posts: 86
Joined: Thu Nov 24, 2016 5:04 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Dell 0CNDTP A00
processor: Intel Core i7-9750H
ram: 16GB
Video Card: NVIDIA GeForce RTX 2060 6GB
sound_card: NVIDIA Virtual Audio Device Wave Extensible WDM
Hard_Drive_Capacity: 1TB
Monitor/Display Make & Model: Generic PnP Monitor (17.1"vis)
Corel programs: PSP X9 thru 2022 - VS 2020, 2021, 2023
Location: USA

Re: PicToPainting with Paint Shop pro 2019

Post by theavy »

I've installed the TensorFlow 1.5 folder on my system, but am still having issues with Pic-to-Paint not working. Here is the result I got from the Developer Tool with 1.5 running:

Command failed: C:\Program Files (x86)\Pic to Painting\resources\app\app\nnart\nnart_prep_cmd.exe --path D:\Temporary Files\PicToPainting\input\ --input D:\Temporary --output .png
Traceback (most recent call last):
File "C:\Python36\lib\site-packages\cx_Freeze\initscripts\__startup__.py", line 14, in run
File "C:\Python36\lib\site-packages\cx_Freeze\initscripts\Console.py", line 26, in run
File "nnart_prep_cmd.py", line 19, in <module>
File "nnart_prep_cmd.py", line 14, in main
File "C:\_source\HappyTree\HappyTree\nnart\backend\nnart_utils.py", line 5, in load_image
File "C:\Python36\lib\site-packages\PIL\Image.py", line 2543, in open
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\Temporary'

index.js:159 g_previewimage=file:///D:/Temporary%20Files/PicToPainting/input/preview.png
/D:/Temporary%20Files/PicToPainting/input/preview.png:1 GET file:///D:/Temporary%20Files/PicToPainting/input/preview.png net::ERR_FILE_NOT_FOUND
index.js:48 show_spiner
index.js:182 file:///D:/Temporary%20Files/PicToPainting/input/preview.png
index.js:92 (10) ["--input", "D:\Temporary Files\PicToPainting\input\preview.png", "--output", "D:\Temporary Files\PicToPainting\output\nnart_001", "--presetpath", "C:\Program Files (x86)\Pic to Painting\resources\app\app\presets", "--preset", "nnart_001", "--weight", "1"]
index.js:36 exec error: Error: Command failed: C:\Program Files (x86)\Pic to Painting\resources\app\app\nnart\nnart_preview_cmd.exe --input D:\Temporary Files\PicToPainting\input\preview.png --output D:\Temporary Files\PicToPainting\output\nnart_001 --presetpath C:\Program Files (x86)\Pic to Painting\resources\app\app\presets --preset nnart_001 --weight 1
Traceback (most recent call last):
File "C:\Python36\lib\site-packages\cx_Freeze\initscripts\__startup__.py", line 14, in run
File "C:\Python36\lib\site-packages\cx_Freeze\initscripts\Console.py", line 26, in run
File "nnart_preview_cmd.py", line 27, in <module>
File "nnart_preview_cmd.py", line 17, in main
File "C:\_source\HappyTree\HappyTree\nnart\backend\nnart_utils.py", line 5, in load_image
File "C:\Python36\lib\site-packages\PIL\Image.py", line 2543, in open
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\Temporary Files\\PicToPainting\\input\\preview.png'

Any thoughts on this?
Tom
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: PicToPainting with Paint Shop pro 2019

Post by LeviFiction »

Yes, it's looking in the wrong place for your files. It has nothing to do with tensorflow. It's looking for them in the D drive. How do you have your computer setup? Do you have two different hdds? Where does %appdata% send you if you put it into your file explorer address bar?
https://levifiction.wordpress.com/
theavy
Posts: 86
Joined: Thu Nov 24, 2016 5:04 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Dell 0CNDTP A00
processor: Intel Core i7-9750H
ram: 16GB
Video Card: NVIDIA GeForce RTX 2060 6GB
sound_card: NVIDIA Virtual Audio Device Wave Extensible WDM
Hard_Drive_Capacity: 1TB
Monitor/Display Make & Model: Generic PnP Monitor (17.1"vis)
Corel programs: PSP X9 thru 2022 - VS 2020, 2021, 2023
Location: USA

Re: PicToPainting with Paint Shop pro 2019

Post by theavy »

I have my Temp folders relocated from my SSD drive to my D: drive.
theavy
Posts: 86
Joined: Thu Nov 24, 2016 5:04 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Dell 0CNDTP A00
processor: Intel Core i7-9750H
ram: 16GB
Video Card: NVIDIA GeForce RTX 2060 6GB
sound_card: NVIDIA Virtual Audio Device Wave Extensible WDM
Hard_Drive_Capacity: 1TB
Monitor/Display Make & Model: Generic PnP Monitor (17.1"vis)
Corel programs: PSP X9 thru 2022 - VS 2020, 2021, 2023
Location: USA

Re: PicToPainting with Paint Shop pro 2019

Post by theavy »

PROBLEM SOLVED! My Temp folders on the D: drive contained spaces in the names. Apparently, a 'no-no'. I renamed them by removing the spaces, and now (along with TensorFlow 1.5), Pic-to-Painting is working as it should!

All is well again1
Tom
dp2020
Posts: 2
Joined: Sun Mar 22, 2020 12:16 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel Core i7 Q720 1.60GHz
ram: 6 GB
Video Card: NVIDIA Geforce GT 230M
Hard_Drive_Capacity: 250GB
Corel programs: Corel PaintShop Pro 2020 ULTIMATE

Re: PicToPainting with Paint Shop pro 2019

Post by dp2020 »

Hi, I replaced the TensorFlow 1.5 and this is the result from the Developer Tool ->
index.js:48 remove_folders
index.js:188 g_previewimage=file:///C:/Users/u---u/AppData/Local/Temp/Pic-To-Painting/input/preview.png
index.js:64 exec error: Error: Command failed: C:\Program Files\Pic-To-Painting\resources\app\app\nnart\nnart_generate_cache_cmd.exe --input C:\Users\upggu\AppData\Local\Temp\Pic-To-Painting\input\preview.png --presetpath C:\Program Files\Pic-To-Painting\resources\app\app\presets --cache_dir C:\Users\upggu\AppData\Local\Temp\Pic-To-Painting\output/
Traceback (most recent call last):
File "C:\Python36\lib\site-packages\cx_Freeze\initscripts\__startup__.py", line 14, in run
File "C:\Python36\lib\site-packages\cx_Freeze\initscripts\Console.py", line 26, in run
File "nnart_generate_cache_cmd.py", line 3, in <module>
File "C:\_source\HappyTree\HappyTree\nnart\backend\nnart_modules.py", line 1, in <module>
ModuleNotFoundError: No module named 'tensorflow'
User avatar
iraisok
Posts: 133
Joined: Wed Nov 29, 2017 4:12 am
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Dell 0X501H
processor: Intel i7 960 Quad Core
ram: 24GB
Video Card: ATI Radeon HD 5870
sound_card: Creative Sound Blaster X-Fi Titanium
Hard_Drive_Capacity: 4.5 TB
Monitor/Display Make & Model: Dell U2410 24" Wide, Dell 1905FP 19"
Corel programs: PSP2019U, PhotoZoom7 Topaz Remask
Location: Southern California

Re: PicToPainting with Paint Shop pro 2019

Post by iraisok »

Hi,

1. What did you “replace” Tensorflow 1.5 with? I think you meant you replaced 1.7 with 1.5? If so, goo start.
2. Without caring about your PC or OS if you can send a file list that from above a level where Tensor pflow is installed, I’d compare with my installation that works with 1.5 that does not with 1.7.
3.if Levifiction reads your post, he is likely to zero in on your problem so, you could wait for that?

Edit: I just attached a file list Directory of C:\Program Files\Pic-To-Painting\resources\app\app\nnart\lib showing all lower folders and files. Check for differences with your installation. Get back please. Just curious if I have helped you?

Good Luck,
Attachments
fil-lst - C_Program Files_Pic-To-Painting_resources_app_app_nnart_lib.txt
(895.94 KiB) Downloaded 220 times
Ira
PSP 2019U on my desktop with Win 10 Pro; PSP2023U on my laptop with Win 11 Home, each with GFRX, PicToPaint, Topaz ReMask, BenVista PhotoZoom 7 and a few personal scripts.
dp2020
Posts: 2
Joined: Sun Mar 22, 2020 12:16 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel Core i7 Q720 1.60GHz
ram: 6 GB
Video Card: NVIDIA Geforce GT 230M
Hard_Drive_Capacity: 250GB
Corel programs: Corel PaintShop Pro 2020 ULTIMATE

Re: PicToPainting with Paint Shop pro 2019

Post by dp2020 »

Hi, iraisok thanks for the reply. I uninstalled Corel PSP 2020 Ultimate and ran CCleaner. I reinstalled Corel PSP 2020 Ultimate and Pic-to-paint wheel spins with no result. I followed LeviFiction instructions with the Tensorflow 1.5. and this is the result from the Developer Tool ->


index.js:48 remove_folders
index.js:188 g_previewimage=file:///C:/Users/upggu/AppData/Local/Temp/Pic-To-Painting/input/preview.png
index.js:64 exec error: Error: Command failed: C:\Program Files\Pic-To-Painting\resources\app\app\nnart\nnart_generate_cache_cmd.exe --input C:\Users\upggu\AppData\Local\Temp\Pic-To-Painting\input\preview.png --presetpath C:\Program Files\Pic-To-Painting\resources\app\app\presets --cache_dir C:\Users\upggu\AppData\Local\Temp\Pic-To-Painting\output/
Traceback (most recent call last):
File "C:\Python36\lib\site-packages\cx_Freeze\initscripts\__startup__.py", line 14, in run
File "C:\Python36\lib\site-packages\cx_Freeze\initscripts\Console.py", line 26, in run
File "nnart_generate_cache_cmd.py", line 3, in <module>
File "C:\_source\HappyTree\HappyTree\nnart\backend\nnart_modules.py", line 1, in <module>
ModuleNotFoundError: No module named 'tensorflow'

execCommand.execFile @ index.js:64
exithandler @ child_process.js:289
emitTwo @ events.js:125
emit @ events.js:213
maybeClose @ internal/child_process.js:921
stream.socket.on @ internal/child_process.js:348
emitOne @ events.js:115
emit @ events.js:210
_handle.close @ net.js:549
index.js:93 action=apply
index.js:106 C:\Users\upggu\AppData\Local\Temp\Pic-to-Painting\session_338105578.png
index.js:112 C:\Users\upggu\AppData\Local\Temp\Pic-To-Painting\output\nnart_012_0.png
index.js:121 (6) ["--input", "C:\Users\upggu\AppData\Local\Temp\Pic-to-Painting\session_338105578.png", "--output", "C:\Users\upggu\AppData\Local\Temp\Pic-to-Painting\session_338105578.png", "--preview", "C:\Users\upggu\AppData\Local\Temp\Pic-To-Painting\output\nnart_012_0.png"]
index.js:64 exec error: Error: Command failed: C:\Program Files\Pic-To-Painting\resources\app\app\nnart\nnart_apply_cmd.exe --input C:\Users\upggu\AppData\Local\Temp\Pic-to-Painting\session_338105578.png --output C:\Users\upggu\AppData\Local\Temp\Pic-to-Painting\session_338105578.png --preview C:\Users\upggu\AppData\Local\Temp\Pic-To-Painting\output\nnart_012_0.png
Traceback (most recent call last):
File "C:\Python36\lib\site-packages\cx_Freeze\initscripts\__startup__.py", line 14, in run
File "C:\Python36\lib\site-packages\cx_Freeze\initscripts\Console.py", line 26, in run
File "nnart_apply_cmd.py", line 1, in <module>
ModuleNotFoundError: No module named 'tensorflow'

execCommand.execFile @ index.js:64
exithandler @ child_process.js:289
emitTwo @ events.js:125
emit @ events.js:213
maybeClose @ internal/child_process.js:921
ChildProcess._handle.onexit @ internal/child_process.js:211
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: PicToPainting with Paint Shop pro 2019

Post by LeviFiction »

Normally the error is something like "cannot load dll" when the module fails to load properly showing an incompatibility.
While it is possible that 1.5 won't work for you either that's not the error you're getting.

That error says it cannot find the tensorflow module. This usually means either the uncompressed folder isn't correctly named or there is some other reason it can't find the init file.

The folder should be named tensorflow and the init file should be right inside, not a level or extra folder deep. I am on a walk so I don't have images to show. But is that what you see?
https://levifiction.wordpress.com/
User avatar
iraisok
Posts: 133
Joined: Wed Nov 29, 2017 4:12 am
operating_system: Windows 7 Ultimate
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Dell 0X501H
processor: Intel i7 960 Quad Core
ram: 24GB
Video Card: ATI Radeon HD 5870
sound_card: Creative Sound Blaster X-Fi Titanium
Hard_Drive_Capacity: 4.5 TB
Monitor/Display Make & Model: Dell U2410 24" Wide, Dell 1905FP 19"
Corel programs: PSP2019U, PhotoZoom7 Topaz Remask
Location: Southern California

Re: PicToPainting with Paint Shop pro 2019

Post by iraisok »

Levi - hence my bruteforce approach to comparing with a WORKING structure. but you know all....
Ira
PSP 2019U on my desktop with Win 10 Pro; PSP2023U on my laptop with Win 11 Home, each with GFRX, PicToPaint, Topaz ReMask, BenVista PhotoZoom 7 and a few personal scripts.
RCPhotos
Posts: 21
Joined: Tue Mar 31, 2020 8:00 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTek
processor: Intel Core 950 3.07 GHz
ram: 16GB
Video Card: NVIDIA Geforce GTX 750 Ti
sound_card: Microsoft
Hard_Drive_Capacity: 1.0 TB
Monitor/Display Make & Model: Vizio VX240M
Corel programs: PSP-Ult, PEP

Re: PicToPainting with Paint Shop pro 2019

Post by RCPhotos »

Instead of starting a new post, can I just say that I am seeing the same spinning wheel and I cannot see an answer to the problem. My question would be, "Ok, so what steps do I need to take now?"
RCPhotos
Posts: 21
Joined: Tue Mar 31, 2020 8:00 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTek
processor: Intel Core 950 3.07 GHz
ram: 16GB
Video Card: NVIDIA Geforce GTX 750 Ti
sound_card: Microsoft
Hard_Drive_Capacity: 1.0 TB
Monitor/Display Make & Model: Vizio VX240M
Corel programs: PSP-Ult, PEP

Re: PicToPainting with Paint Shop pro 2019

Post by RCPhotos »

.
It appears that Pic-to-Painting has caused a huge lot of problems. After reading a bunch I now realize that in my chat session I was given only the 32bit version. As you can see I am running a W10 system. How do I get the 64bit version if my chat session is no longer available?

Yes I can open a new chat session, but can anyone verify that will work with Pic-to-Painting just showing the "SPINNING WHEEL" when I use the plugin?




Suggestion: when searching for a post that has an answer, am I missing the button that is clickable for "View Answers/Solutions" within posts?
Post Reply