How to call python function(tensorflow) from C#

559
May 04, 2017, at 9:33 PM

My environment is windows10, python3.5.I used tensorflow to train a neural network and wrote an interface function to return my results, and now I want to call the function in C # project. I know there is a plugin in C # like Ironpython, but it looks like it only supports python2.7, and I try to add my third party library to the path, but the result failed. I do not know how to solve this problem...

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\numpy\__init__.py", line 142, in <module>
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\numpy\add_newdocs.py", line 13, in <module>
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\numpy\lib\__init__.py", line 8, in <module>
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\numpy\lib\type_check.py", line 11, in <module>
  File "C:\Program Files (x86)\IronPython 2.7\lib\site-packages\numpy\core\__init__.py", line 14, in <module>
ImportError: cannot import multiarray from numpy.core
READ ALSO
Fix for window.go.back fails with large number of pages

Fix for window.go.back fails with large number of pages

I have a program that I am using to search/collect planning data decisions over multiple yearsEverything in the program has been working fine until I reach a search that has over 50 or so pages to go through, the program seems to break and does not go back to the original...

281
Python url javascript

Python url javascript

I have a web site that at click on an object open javascript:submitform(), my question is I how i do javascript:submitform() on url in Python? I must redirect url of this web site on javascript:submitform() in my Python program

360
Implementation of BEGAN (Boundary Equilibrium GAN) Using CNTK Python API

Implementation of BEGAN (Boundary Equilibrium GAN) Using CNTK Python API

I found an implementation for BEGAN using CNTK(https://github

415
Pandas parsing text files with different signs for change line and separator

Pandas parsing text files with different signs for change line and separator

I am parsing a txt file which use '#@#@#' for change line and '~' for column separationCan I still use pd

382