Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2019 05:22:48 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r515956 - in head/misc: . netron
Message-ID:  <201910290522.x9T5MmRX084967@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Oct 29 05:22:47 2019
New Revision: 515956
URL: https://svnweb.freebsd.org/changeset/ports/515956

Log:
  New port: misc/netron: Visualizer for neural network, deep learning, machine learning models

Added:
  head/misc/netron/
  head/misc/netron/Makefile   (contents, props changed)
  head/misc/netron/distinfo   (contents, props changed)
  head/misc/netron/pkg-descr   (contents, props changed)
  head/misc/netron/pkg-plist   (contents, props changed)
Modified:
  head/misc/Makefile

Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile	Tue Oct 29 05:17:04 2019	(r515955)
+++ head/misc/Makefile	Tue Oct 29 05:22:47 2019	(r515956)
@@ -252,6 +252,7 @@
     SUBDIR += mtail
     SUBDIR += mtx
     SUBDIR += najitool
+    SUBDIR += netron
     SUBDIR += nms
     SUBDIR += nnn
     SUBDIR += nsf

Added: head/misc/netron/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/netron/Makefile	Tue Oct 29 05:22:47 2019	(r515956)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME=	netron
+DISTVERSIONPREFIX=	v
+DISTVERSION=	3.4.8
+CATEGORIES=	misc python # machine-learning
+MASTER_SITES=	LOCAL/yuri/:js
+DISTFILES=	netron-3.4.8-node_modules.tgz:js
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Visualizer for neural network, deep learning, machine learning models
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		python:3.6+
+USE_GITHUB=	yes
+GH_ACCOUNT=	lutzroeder
+USE_PYTHON=	distutils noflavors
+
+NO_ARCH=	yes
+
+PLIST_SUB=	PYTHON_CPYTHON=cpython-${PYTHON_VER:S/.//}
+
+post-extract:
+	@${RLN} ${WRKDIR}/node_modules ${WRKSRC}/node_modules
+
+regenerate-node_modules-distfile: # requires npm installed by www/npm
+	@${MAKE} clean patch && \
+	cd ${WRKSRC} && \
+	npm install -l && \
+	${TAR} czf ${DISTDIR}/netron-${DISTVERSION}-node_modules.tgz node_modules && \
+	${ECHO} "Please upload the file ${DISTDIR}/netron-${DISTVERSION}-node_modules.tgz"
+
+.include <bsd.port.mk>

Added: head/misc/netron/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/netron/distinfo	Tue Oct 29 05:22:47 2019	(r515956)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1572324597
+SHA256 (netron-3.4.8-node_modules.tgz) = e707529d246d26a9ccd75c0a277658d5beaf12d126622488d98d0e33d0313057
+SIZE (netron-3.4.8-node_modules.tgz) = 51328821
+SHA256 (lutzroeder-netron-v3.4.8_GH0.tar.gz) = 3e94084416eb24719da560713a430a8a2b6541a1113ed7b3d006aa410f3acaaf
+SIZE (lutzroeder-netron-v3.4.8_GH0.tar.gz) = 2143271

Added: head/misc/netron/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/netron/pkg-descr	Tue Oct 29 05:22:47 2019	(r515956)
@@ -0,0 +1,24 @@
+Netron is a viewer for neural network, deep learning and machine learning
+models.         Netron supports:
+* ONNX (.onnx, .pb, .pbtxt),
+* Keras (.h5, .keras),
+* Core ML (.mlmodel),
+* Caffe (.caffemodel, .prototxt),
+* Caffe2 (predict_net.pb, predict_net.pbtxt),
+* MXNet (.model, -symbol.json),
+* TorchScript (.pt, .pth),
+* NCNN (.param),
+* TensorFlow Lite (.tflite).
+Netron has experimental support for:
+* PyTorch (.pt, .pth),
+* Torch (.t7),
+* CNTK (.model, .cntk),
+* Deeplearning4j (.zip),
+* PaddlePaddle (.zip, __model__),
+* Darknet (.cfg),
+* MNN (.mnn),
+* scikit-learn (.pkl),
+* ML.NET (.zip),
+* TensorFlow.js (model.json, .pb) and TensorFlow (.pb, .meta, .pbtxt).
+
+WWW: https://github.com/lutzroeder/netron

Added: head/misc/netron/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/netron/pkg-plist	Tue Oct 29 05:22:47 2019	(r515956)
@@ -0,0 +1,97 @@
+bin/netron
+%%PYTHON_SITELIBDIR%%/netron-3.4.7-py%%PYTHON_VER%%.egg-info/PKG-INFO
+%%PYTHON_SITELIBDIR%%/netron-3.4.7-py%%PYTHON_VER%%.egg-info/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/netron-3.4.7-py%%PYTHON_VER%%.egg-info/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/netron-3.4.7-py%%PYTHON_VER%%.egg-info/entry_points.txt
+%%PYTHON_SITELIBDIR%%/netron-3.4.7-py%%PYTHON_VER%%.egg-info/top_level.txt
+%%PYTHON_SITELIBDIR%%/netron/__init__.py
+%%PYTHON_SITELIBDIR%%/netron/__pycache__/__init__.cpython-36.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/netron/__pycache__/__init__.cpython-36.pyc
+%%PYTHON_SITELIBDIR%%/netron/__pycache__/__version__.cpython-36.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/netron/__pycache__/__version__.cpython-36.pyc
+%%PYTHON_SITELIBDIR%%/netron/__pycache__/server.cpython-36.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/netron/__pycache__/server.cpython-36.pyc
+%%PYTHON_SITELIBDIR%%/netron/__version__.py
+%%PYTHON_SITELIBDIR%%/netron/base.js
+%%PYTHON_SITELIBDIR%%/netron/bigdl-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/bigdl.js
+%%PYTHON_SITELIBDIR%%/netron/bson.js
+%%PYTHON_SITELIBDIR%%/netron/caffe-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/caffe-proto.js
+%%PYTHON_SITELIBDIR%%/netron/caffe.js
+%%PYTHON_SITELIBDIR%%/netron/caffe2-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/caffe2-proto.js
+%%PYTHON_SITELIBDIR%%/netron/caffe2.js
+%%PYTHON_SITELIBDIR%%/netron/chainer.js
+%%PYTHON_SITELIBDIR%%/netron/cntk-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/cntk-proto.js
+%%PYTHON_SITELIBDIR%%/netron/cntk.js
+%%PYTHON_SITELIBDIR%%/netron/coreml-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/coreml-proto.js
+%%PYTHON_SITELIBDIR%%/netron/coreml.js
+%%PYTHON_SITELIBDIR%%/netron/d3.min.js
+%%PYTHON_SITELIBDIR%%/netron/dagre.min.js
+%%PYTHON_SITELIBDIR%%/netron/darknet-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/darknet.js
+%%PYTHON_SITELIBDIR%%/netron/dl4j-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/dl4j.js
+%%PYTHON_SITELIBDIR%%/netron/favicon.ico
+%%PYTHON_SITELIBDIR%%/netron/flatbuffers.js
+%%PYTHON_SITELIBDIR%%/netron/flux-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/flux.js
+%%PYTHON_SITELIBDIR%%/netron/gzip.js
+%%PYTHON_SITELIBDIR%%/netron/handlebars.min.js
+%%PYTHON_SITELIBDIR%%/netron/hdf5.js
+%%PYTHON_SITELIBDIR%%/netron/icon.png
+%%PYTHON_SITELIBDIR%%/netron/index.html
+%%PYTHON_SITELIBDIR%%/netron/index.js
+%%PYTHON_SITELIBDIR%%/netron/keras-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/keras.js
+%%PYTHON_SITELIBDIR%%/netron/long.js
+%%PYTHON_SITELIBDIR%%/netron/marked.min.js
+%%PYTHON_SITELIBDIR%%/netron/mlnet-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/mlnet.js
+%%PYTHON_SITELIBDIR%%/netron/mnn-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/mnn-schema.js
+%%PYTHON_SITELIBDIR%%/netron/mnn.js
+%%PYTHON_SITELIBDIR%%/netron/mxnet-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/mxnet.js
+%%PYTHON_SITELIBDIR%%/netron/ncnn-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/ncnn.js
+%%PYTHON_SITELIBDIR%%/netron/numpy.js
+%%PYTHON_SITELIBDIR%%/netron/onnx-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/onnx-proto.js
+%%PYTHON_SITELIBDIR%%/netron/onnx.js
+%%PYTHON_SITELIBDIR%%/netron/openvino-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/openvino.js
+%%PYTHON_SITELIBDIR%%/netron/paddle-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/paddle-proto.js
+%%PYTHON_SITELIBDIR%%/netron/paddle.js
+%%PYTHON_SITELIBDIR%%/netron/pako.min.js
+%%PYTHON_SITELIBDIR%%/netron/pickle.js
+%%PYTHON_SITELIBDIR%%/netron/protobuf.min.js
+%%PYTHON_SITELIBDIR%%/netron/prototxt.js
+%%PYTHON_SITELIBDIR%%/netron/python.js
+%%PYTHON_SITELIBDIR%%/netron/pytorch-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/pytorch.js
+%%PYTHON_SITELIBDIR%%/netron/server.py
+%%PYTHON_SITELIBDIR%%/netron/sklearn-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/sklearn.js
+%%PYTHON_SITELIBDIR%%/netron/tar.js
+%%PYTHON_SITELIBDIR%%/netron/tf-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/tf-proto.js
+%%PYTHON_SITELIBDIR%%/netron/tf.js
+%%PYTHON_SITELIBDIR%%/netron/tflite-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/tflite-schema.js
+%%PYTHON_SITELIBDIR%%/netron/tflite.js
+%%PYTHON_SITELIBDIR%%/netron/torch-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/torch.js
+%%PYTHON_SITELIBDIR%%/netron/torchscript-metadata.json
+%%PYTHON_SITELIBDIR%%/netron/torchscript.js
+%%PYTHON_SITELIBDIR%%/netron/view-grapher.css
+%%PYTHON_SITELIBDIR%%/netron/view-grapher.js
+%%PYTHON_SITELIBDIR%%/netron/view-sidebar.css
+%%PYTHON_SITELIBDIR%%/netron/view-sidebar.js
+%%PYTHON_SITELIBDIR%%/netron/view.css
+%%PYTHON_SITELIBDIR%%/netron/view.js
+%%PYTHON_SITELIBDIR%%/netron/zip.js



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910290522.x9T5MmRX084967>