MisterZed
New member
Hi all !
I'm currently trying to write a script in pixinsight that use tensorflowJS.
I've made de simple model with only one neurone in it, trained with an X array and Y array. All is written in python with google colab. This neural network only does a linear regression (it's only for the test, later I will try to do denoising). Then in colab I've converted my neural network into JSON file that can be loaded with tensorflowJS.
My problem is : I need to load the library tfjs.min.js in my script to use the JSON file but I cannot do it with the methods below.
tf.min.js is a file in the same folder than my script.
Here what I've tried :
and :
None of these 2 examples works...
Can someone help me to do it ?
best regards,
Baptiste ZLOCH
I'm currently trying to write a script in pixinsight that use tensorflowJS.
I've made de simple model with only one neurone in it, trained with an X array and Y array. All is written in python with google colab. This neural network only does a linear regression (it's only for the test, later I will try to do denoising). Then in colab I've converted my neural network into JSON file that can be loaded with tensorflowJS.
My problem is : I need to load the library tfjs.min.js in my script to use the JSON file but I cannot do it with the methods below.
tf.min.js is a file in the same folder than my script.
Here what I've tried :
and :
None of these 2 examples works...
Can someone help me to do it ?
best regards,
Baptiste ZLOCH
Last edited: