medtune / beta-platform Goto Github PK
View Code? Open in Web Editor NEWMedTune Beta POC
License: Apache License 2.0
MedTune Beta POC
License: Apache License 2.0
Needed command line formats:
Startup pre check
medtune-beta start
Run server
medtune-beta start --port=8080 --debug=true
Get version
medtune-beta version
Sync models
medtune-beta sync-db
Before diving into Capsules project, we could create a simple client that will handle inference and look ups on Tensorflow freezed models.
Keep in mind that gRPC is required also TensorflowServing signatures
Actually session functions are written at server/middleware
, normally we should keep only the middleware functions, and move other logic to pkg/session
For example for user model we can have functions that directly handles users authentication /creation etc ... same for all other models
Separating application logic from the user interface, in order to accelerate design developpement and isolate business components.
go run main.go --debug
to show-up all compiled templates would be awesome
Implementing basic models. Probably using Postgres as database. To confirm.
at pkg/validator
we need a certain API for validating data objects all sort of uploaded images/videos/archives etc
Keep in mind extensions aren't enough for validating files. Reading headers is the right way.
Instead of handling session logic at each route , it would be easier to set a middleware for all private content:
Something like this example works but only if we abort connection.
import (
"github.com/gin-contrib/sessions"
"github.com/gin-gonic/gin"
)
func LoggedOnly() gin.HandlerFunc {
return func(c *gin.Context) {
s := sessions.Default(c)
if v := s.Get("logged"); v == nil || !v.(bool) {
c.AbortWithStatus(404)
return
}
}
}
Better than cookies or memcached. Use Redis.
pkg/Inits
is responsible for initialising all necessary packages that are used by the server.
We need two different modes for running inits: Debug and Production. Debug
mode should allow skipping some initialisations while Production
mode need to panic()
whenever something is going wrong at startup.
Check here $GOPATH/src/github.com/medtune/beta-platform
whenever static path is not provided
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.