goudetolivier / cgnn Goto Github PK
View Code? Open in Web Editor NEWReplication code for the article "Learning Functional Causal Models with Generative Neural Networks"
Replication code for the article "Learning Functional Causal Models with Generative Neural Networks"
Dear Olivier,
I am studying your paper on causal generative neural networks, and am attempting implementation of a part of it.
This is regarding the CGNN code in your GitHub repository. I am facing an issue with the code.
I would be very grateful if you could reply and give me a bit of help.
I downloaded your CGNN repository. I followed the instructions, upgraded all packages in requirements.txt.
When I run
python setup.py install develop --user
It gives the following output
running install
running bdist_egg
running egg_info
writing cgnn.egg-info/PKG-INFO
error: [Errno 13] Permission denied: 'cgnn.egg-info/PKG-INFO'
So I installed ran the above command using sudo. The installation then goes through.
But, when I run
sudo python
>>import cgnn
The program terminates without any error.
Does this mean that the install develop step was not properly done?
Could you please help me with this issue?
If it helps,
I am using a virtual environment for python through Anaconda. Python 2.7 and Ubuntu 14.04.5 GNU/Linux 3.13.0
Please let me know if you want any more information from me.
Regards
I find that in CGNN.py on line #292, the reverse_edge function need the parameters of the corresponding nodes of the edge. But nothing is provided in the file.
Hi , dear doc, I want to know if the codes can run on tensorflow with only have CPU, since there are always some errors to imply the unsuccess of the codes, like 'Operation was explicitly assigned to /device:GPU:0 but available devices are [/job:localhost/replica:0/task:0/device:CPU:0]'
thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.