Backend Skeleton using FastAPI and Sqlalchemy ORM

Based on @tiangolo’s full stack postgres template, with some things added, some things removed, and some things changed. This is a work in progress! TODO: Remove fastapi_util from the app repo, and make it a separate package Add example pydantic models, sqlalchemy models, endpoints Add encode/databases support (possibly in a separate template?) GitHub https://github.com/dmontagu/backend-skeleton    

Read more

Prints values and types during compilation

Compile-Time Printer Compile-Time Printer prints values and types at compile-time in C++. Teaser test.cpp compile-time-printer — make test.cpp #include template constexpr auto func(int i) { // Formatted output. ctp::printf(“Hello {}!n”, ctp::type{I}); // Standardized output. ctp::print(I + i, sizeof(I)); return true; } constexpr    

Read more

Structure Guided Lane Detection with python

Project for the IJCAI 2021 paper “Structure Guided Lane Detection” Abstract Recently, lane detection has made great progresswith the rapid development of deep neural networksand autonomous driving. However, thereexist three mainly problems including characterizinglanes, modeling the structural relationship betweenscenes and lanes, and supporting more attributes(e.g., instance and type) of lanes. In thispaper, we propose a novel structure guided frameworkto solve these problems simultaneously. Inthe framework, we first introduce a new lane representationto characterize each instance. Then a topdownvanishing point guided […]

Read more

A project helps to detect the mathematical formula from the given picture and the same formula is extracted and converted into the latex code

The goal of this project is to create a learning based system that takes an image of a math formula and returns corresponding LaTeX code. Requirements Model PyTorch (tested on v1.9) Python 3.7+ & dependencies (requirements.txt) pip install -r requirements.txt Dataset In order to render the math in many different fonts we use XeLaTeX, generate a PDF and finally convert it to a PNG. For the last step we need to use some third party tools: Using the model Download/Clone […]

Read more

An alternative site to emplea.do due to inconsistent service of the app

a agile and fast alternative to emplea.do Settings Moved to settings. Basic Commands Setting Up Your Users To create a normal user account, just go to Sign Up and fill out the form. Once you submit it, you’ll see a “Verify Your E-mail Address” page. Go to your console to see a simulated email verification message. Copy the link into your browser. Now the user’s email should be verified and ready to go. To create an superuser account, use this […]

Read more

Network Dynaimcs Simulation For Python

A Final Year Project in CUHK, Autumn 2021 Files param.h edit all the variables & settings here simulate.c the main program to run the network dynaimcs How to use edit variables in param.h place param.h and simulate.c in the same folder compile simulate.c wait for results Output export up to 4 files OUT_SPIK stores all the spiking data column 1: index of nodes, starting from 1 column 2: number of spikes of the corresponding node remining columns: time-stamps of each […]

Read more
1 27 28 29 30 31 50