netscope icon indicating copy to clipboard operation
netscope copied to clipboard

Run netscope in localhost

Open beige90 opened this issue 9 years ago • 11 comments

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?

beige90 avatar Aug 30 '16 00:08 beige90

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)

ethereon avatar Aug 30 '16 04:08 ethereon

@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?

beige90 avatar Aug 30 '16 05:08 beige90

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.

ethereon avatar Sep 01 '16 05:09 ethereon

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

thesby avatar Sep 27 '16 08:09 thesby

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 ?

thesby avatar Sep 27 '16 08:09 thesby

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

coocoky avatar Aug 19 '17 12:08 coocoky

@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.

rlnx avatar Aug 19 '17 17:08 rlnx

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

changshuchao avatar Aug 30 '17 02:08 changshuchao

@RuslanIsrafilov Witch OS? WINDOWS? Linux?

changshuchao avatar Aug 30 '17 02:08 changshuchao

@changshuchao, here is crossplatform solution.

rlnx avatar Aug 30 '17 07:08 rlnx

@RuslanIsrafilov tks,bro

changshuchao avatar Aug 31 '17 00:08 changshuchao