Comments (3)
from vin.
Hi, Aviv!
It still doesn't work on Matlab R2016b.
I followed the instruction of Matlab documents, added the path into python.
P = py.sys.path;
P
P =
Python list with no properties.
['/Users/veritas/Desktop/vin', '/anaconda/lib/python2.7/site-packages/theano', '', '/usr/lib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-darwin', '/usr/lib/python2.7/plat-mac', '/usr/lib/python2.7/plat-mac/lib-scriptpackages', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/Library/Python/2.7/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC']
I can import my own python file like mymod.py and module like numpy with no problems,
py.importlib.import_module('mymod')
ans =
Python module with properties:
theend: [1×1 py.function]
search: [1×1 py.function]
<module 'mymod' from 'mymod.pyc'>
py.importlib.import_module('numpy')
ans =
Python module with properties:
loadtxt: [1×1 py.function]
reciprocal: [1×1 py.numpy.ufunc]
......
But if I want to import theano or vin.py, it reported errors:
py.importlib.import_module('theano')
Error using init>import_module (line 37)
Python Error: ImportError: No module named theano
py.importlib.import_module('vin')
Error using theano_utils> (line 3)
Python Error: ImportError: No module named theano
Error in vin> (line 3)
from theano_utils import *
Error in init>import_module (line 37)
import(name)
And also, the path for theano is a dictionary, maybe this method only works for a file (Matlab tries to find a file named theano.py?) rather a dictionary. But still, numpy is also a dic, so I am confused.
Many thanks,
veritas
from vin.
I am having a similar problem. is your problem solved?
from vin.
Related Issues (14)
- Cannot generate grid_world data with script_make_data.m HOT 9
- Why not just use Python Packages -Nobody uses the old grandfather called MATLAB HOT 8
- Shape mismatch when taking out the Q values out from ConvNet HOT 3
- Release code for Mars Navigation and Mujoco continuous control ? HOT 9
- Purpose of image_shape and filter_shape in conv2D_keep_shape? HOT 4
- Difficulties in reproducing results from the paper HOT 5
- Release code for Web Navigation ?
- Release code for gridworld with reinforcement learning? HOT 4
- Does VIN naturally work with reinforcement learning? HOT 1
- Missing a function when running data generation file.
- why l_q equals 10 rather than 8? HOT 1
- why aren't obstacles considered during the rollout testing HOT 3
- Code for hierarchical VI modules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vin.