Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run netscope in localhost #4

Open
beige90 opened this issue Aug 30, 2016 · 11 comments
Open

Run netscope in localhost #4

beige90 opened this issue Aug 30, 2016 · 11 comments

Comments

@beige90
Copy link

beige90 commented Aug 30, 2016

Thanks for the great tool!
I would like to run this on my local machine but doesn't know how. I ran npm install and npm start but didn't know what to do next. How can I do so?

@ethereon
Copy link
Owner

In a bit of an abuse of convention, npm start currently launches the watchify process that generates netscope.js. However, once it has been generated, you can launch a local instance by just statically serving the files (for instance, using python -m SimpleHTTPServer)

@beige90
Copy link
Author

beige90 commented Aug 30, 2016

@ethereon Thank you. I could run netscope in my local machine. Can you teach me briefly about how it works especially the netscope.js generation and what it does?

@ethereon
Copy link
Owner

ethereon commented Sep 1, 2016

Netscope is written in CoffeScript. The watchify command basically watches for changes to the CoffeeScript sources and compiles them into a single javascript file (netscope.js).

The parser (generated from the included peg.js grammar) parses Caffe's prototxt and creates a DAG, which is rendered as an SVG using dagre.

@thesby
Copy link

thesby commented Sep 27, 2016

Could you please give a detailed description about the usage in localhost ?

@thesby
Copy link

thesby commented Sep 27, 2016

OK, I have solved it. Thank you.
Could you please show the input size and output size of each layer if the size of data-layer is given ?

@coocoky
Copy link

coocoky commented Aug 19, 2017

@thesby how you solved? Could you please give a detailed description about the usage in localhost ?

@rlnx
Copy link
Contributor

rlnx commented Aug 19, 2017

@coocoky, I'd suggest using node.js http-server

npm install http-server -g
cd netscope
http-server

If you want to make changes in the source code, install dependencies vianpm install. And then run npm start, it will enable live translation from CoffeeScript to JS.

@changshuchao
Copy link

@thesby how you solved? Could you please give a detailed description about the usage in localhost ?

@changshuchao
Copy link

@RuslanIsrafilov Witch OS? WINDOWS? Linux?

@rlnx
Copy link
Contributor

rlnx commented Aug 30, 2017

@changshuchao, here is crossplatform solution.

@changshuchao
Copy link

@RuslanIsrafilov tks,bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants