Skip to content

Instantly share code, notes, and snippets.

Avatar
🐧
random wandering

January Desk yiyuezhuo

🐧
random wandering
View GitHub Profile
View bayesian_optimization4.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View test_decision_making_sequence9.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yiyuezhuo
yiyuezhuo / resnet18_include_preprocessing_postprocessing-Copy1.ipynb
Created Apr 15, 2021
Add some pre-processing and post-processing logic into a pytorch exported classification model
View resnet18_include_preprocessing_postprocessing-Copy1.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yiyuezhuo
yiyuezhuo / Type6test.java
Created Apr 15, 2021
Java call ONNX models using ONNXRUNTIME and opencv
View Type6test.java
// opencv
import org.opencv.core.Core;
import org.opencv.core.CvType;
import org.opencv.core.Mat;
import org.opencv.core.Size;
import org.opencv.imgproc.Imgproc;
import org.opencv.imgcodecs.Imgcodecs;
@yiyuezhuo
yiyuezhuo / onnx_manipulate_test3.ipynb
Created Apr 8, 2021
Add a NMS op node to an exisiting ONNX model
View onnx_manipulate_test3.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yiyuezhuo
yiyuezhuo / ClientMultipartFormPost.java
Created Apr 6, 2021
Java send image to REST API Server and fetch results
View ClientMultipartFormPost.java
/*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
View image_processing-Copy1.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yiyuezhuo
yiyuezhuo / bayesian_optimization3.ipynb
Last active Sep 4, 2020
Bayesian optimization with Stheno
View bayesian_optimization3.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yiyuezhuo
yiyuezhuo / basis_functions_approach_to_GP_exp.ipynb
Created Aug 15, 2020
Plots some figures in Practical Hilbert space approximate Bayesian Gaussian processes for probabilistic programming
View basis_functions_approach_to_GP_exp.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yiyuezhuo
yiyuezhuo / fire_basic_9.stan
Last active Jul 4, 2020
basic stan fire model
View fire_basic_9.stan
data {
int<lower=0> N;
real HP_loss_raw[N];
real Org_loss_raw[N];
real evade;
real eps;
}