Skip to content

Instantly share code, notes, and snippets.

@Jimexist
Jimexist / Person.java
Created April 19, 2022 01:08
demo usage of `annotation_metadata' flag
View Person.java
/**
* Autogenerated by Thrift Compiler (0.17.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.anno.test;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.17.0)", date = "2022-04-19")
@Jimexist
Jimexist / Dockerfile
Created April 13, 2022 02:59
ubuntu env to run project loom
View Dockerfile
FROM ubuntu:focal
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -yq && apt-get install -y wget
RUN wget https://download.java.net/java/early_access/loom/5/openjdk-19-loom+5-429_linux-x64_bin.tar.gz -O /tmp/openjdk-19-loom+5-429_linux-x64_bin.tar.gz && \
echo 'a3105f590d1e112757ba0293805b242323f72993a377175ed83b32fa233a286a /tmp/openjdk-19-loom+5-429_linux-x64_bin.tar.gz' | sha256sum -c - && \
mkdir -p /opt && \
tar xvf /tmp/openjdk-19-loom+5-429_linux-x64_bin.tar.gz -C /opt
@Jimexist
Jimexist / Dockerfile
Created April 13, 2022 02:13
dev env for thrift
View Dockerfile
FROM ubuntu:bionic
RUN apt-get update -y && \
apt-get install -y automake bison flex g++ git libboost-all-dev libevent-dev libssl-dev libtool make pkg-config \
default-jdk
WORKDIR /opt/thrift/src
# docker run -v $(pwd):/opt/thrift/src --rm -it thrift
@Jimexist
Jimexist / stacked_lstm_output.ipynb
Created August 16, 2021 14:43
Stacked LSTM Output
View stacked_lstm_output.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Jimexist
Jimexist / lstm_output.ipynb
Last active August 16, 2021 14:40
LSTM Output Shape
View lstm_output.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Jimexist
Jimexist / lstm_cell_output.ipynb
Created August 16, 2021 14:35
LSTMCell Output
View lstm_cell_output.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Jimexist
Jimexist / fasterrcnn_resnet50_fpn.ipynb
Created July 27, 2021 14:40
Torch Vision Faster-RCNN with ResNet50 backbone and FPN
View fasterrcnn_resnet50_fpn.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Jimexist
Jimexist / torchvision_AlexNet.ipynb
Created July 27, 2021 14:03
Torch Vision AlexNet Model
View torchvision_AlexNet.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Jimexist
Jimexist / torchvision_GoogLeNet.ipynb
Created July 27, 2021 14:00
Torch Vision GoogLeNet Model
View torchvision_GoogLeNet.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Jimexist
Jimexist / torchvision_resnet50.ipynb
Created July 27, 2021 13:58
Torch Vision Resnet 50 Model
View torchvision_resnet50.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.