Author Topic: StarNet - new module for star removal  (Read 90745 times)

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: StarNet - new module for star removal
« Reply #105 on: 2019 November 11 23:30:55 »
this has been built and released for OSX... check nikita's sourceforge page for the zipfile.

rob

Offline jtalbot

  • PixInsight Enthusiast
  • **
  • Posts: 78
    • http://www.starscapeimaging.com
Re: StarNet - new module for star removal
« Reply #106 on: 2019 November 12 08:05:41 »
Awesome,
Thank you Nikita...

Jon
Clear Skies

Jon

Offline dave_galera

  • PixInsight Addict
  • ***
  • Posts: 261
    • QDigital Astro
Re: StarNet - new module for star removal
« Reply #107 on: 2019 November 12 08:46:55 »
Downloading it now....thanks Nikita
Dave

Offline Philippe B.

  • PixInsight Old Hand
  • ****
  • Posts: 399
    • CIEL AUSTRAL
Re: StarNet - new module for star removal
« Reply #108 on: 2019 November 13 04:04:00 »
Thank you very much, Nikita, for OSX files  ;)

Offline FrankW

  • PTeam Member
  • Newcomer
  • Posts: 25
Re: StarNet - new module for star removal
« Reply #109 on: 2019 November 13 10:59:50 »
Nikita, you did a great job! Many Thanks.

Offline hoxca

  • Newcomer
  • Posts: 6
Re: StarNet - new module for star removal
« Reply #110 on: 2019 November 16 07:35:03 »
Thank you nikita.

This is just what i'm hoping for :)
Working with tensorflow outside of PI on OSX was possible but this module is very convenient.

Offline KenR

  • Newcomer
  • Posts: 4
Re: StarNet - new module for star removal
« Reply #111 on: 2019 November 17 06:50:10 »
Update....StarNet worked in a new PI "instance" but not within an existing project...I use a default project setup when starting PI for processing.

I can confirm I have the same problem. The StarNet++ module only works for me if I completely close out of PI and open a new instance, then open my image and finally StarNet++. If I try to use the module within my default project I get the "Checkpoint file not found" message. Hopefully this can be fixed in a future release because it is a very useful tool!

Thanks

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: StarNet - new module for star removal
« Reply #112 on: 2019 November 17 08:57:11 »
that shouldnt happen on OSX, are you on windows?

rob

Offline gilbertonp

  • Newcomer
  • Posts: 2
Re: StarNet - new module for star removal
« Reply #113 on: 2019 November 22 04:33:56 »
Hi, I am currently using StarNet on a windows10 machine with Pixinsight but when I run an image processing, I don't see the progress ratio in the console window but only the file name loaded and the result of processing after the starnet processing ended. However if I use StarNet in a windows terminal command I see the progress ratio. Is it normal? That would be great to see the progress ratio under the pixinsight's console as sometimes it takes a long time to process (especially if the tile size is low, for example 32).

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: StarNet - new module for star removal
« Reply #114 on: 2019 November 22 09:33:39 »
yes it is one of the "TODO" items - nikita left a note in the source code saying that it would be nice if StarNet did not lock up PI while it was running.

i took a look at it and having never written a PCL module, i'm not entirely sure how this would be accomplished. probably you would need to spawn the starnet work as a thread which presumably could then be interrupted by the console.

rob

Offline aieie_brazov

  • Newcomer
  • Posts: 1
Re: StarNet - new module for star removal
« Reply #115 on: 2019 November 25 02:02:02 »
Hi everyone, I hope you can help me. I copied the files to the right directory but when I try to install it, find the plugin but I get this error message "Unsupported API version 162 (expected <= 160).: Module load error". Do you have any idea how I can solve it?
Please help me, thanks

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: StarNet - new module for star removal
« Reply #116 on: 2019 November 25 07:47:46 »
you need to upgrade pi to at least version 1.8.6.

rob

Offline jerryyyyy

  • PixInsight Old Hand
  • ****
  • Posts: 425
    • Astrobin Images
Re: StarNet - new module for star removal
« Reply #117 on: 2019 December 10 13:30:02 »
Hey guys,

I have this working fine in PI and on a PC.  I have been helping a person use Starnet for his PC after installing the redistributatble C++ library he gets (which is what I get- but no image output!):

>>>>>>>>>>>>>>>>>>

C:\Users\Ron\Documents\Starnet\Starnet_Win>rgb_starnet++.exe rgb_test 5.tiff  .tif  rgbtest5_s.tif 64 Reading input image...  Done!
Bits per sample:  16
Samples per pixel:  3
Height:  712
Width  1048
Restoring neural network checkpoint... Done!
2019-12-10  10:39:58.662584:  I tensorflow/core/platform/cpu_feature_guard.cc:141)
Your cpu supports instructions that this TensorFlow binary was not compiled to use:  AVX2 Total number of tiles:  204 100% finished
 
Done!
 
C:\Users\Ron\Documents\Starnet\StarNet_Win>pause
Press any key to continue . . .

Computer is a Hewlett Packard 64 bit, 8.00 GB RAM, i3-4130 CPU.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Anyone have any ideas?  This is not the most powerful machine, but it still seems to be executing the code. 

JY
Takahashi 180ED
Astrophysics Mach1
SBIG STT-8300M and Nikon D800
PixInsight Maxim DL 6 CCDComander TheSkyX FocusMax

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: StarNet - new module for star removal
« Reply #118 on: 2019 December 10 13:34:02 »
looks like an extra argument here:

rgb_starnet++.exe rgb_test 5.tiff  .tif  rgbtest5_s.tif 64

should be

rgb_starnet++.exe rgb_test_5.tiff rgbtest5_s.tif 64

note that you can't have spaces in filenames in a command line without escaping them somehow, so you should rename the input file to not have spaces for ease...

rob

Offline jouvenette04

  • Newcomer
  • Posts: 6
Re: StarNet - new module for star removal
« Reply #119 on: 2019 December 11 11:22:40 »
Update....StarNet worked in a new PI "instance" but not within an existing project...I use a default project setup when starting PI for processing.

I can confirm I have the same problem. The StarNet++ module only works for me if I completely close out of PI and open a new instance, then open my image and finally StarNet++. If I try to use the module within my default project I get the "Checkpoint file not found" message. Hopefully this can be fixed in a future release because it is a very useful tool!

Thanks

Same way for me with Pix last update 1.8.8 and Win10 in new or existing project("Checkpoint file not found"). Before with Pix 1.8.7 StarNet work.
Thanks