Skip to content

Instantly share code, notes, and snippets.

View Digital2Slave's full-sized avatar
:octocat:
Focusing

Digital2Slave

:octocat:
Focusing
  • EPBox
  • Guangzhou Guangdong China
  • 09:51 (UTC +08:00)
View GitHub Profile
@Digital2Slave
Digital2Slave / README.md
Created May 10, 2023 07:42 — forked from marcpinet/README.md
Activate Sublime Text 4 Build 4143 and below for ever (also maybe above, but not yet tried)

Activate Sublime Text (for ever)

  1. Go to https://hexed.it/
  2. Click Open File in the top left corner and select sublime_text.exe
  3. Press CTRL + F or on the Search for bar in the left panel and look for: 80 78 05 00 0f 94 C1
  4. Now in the editor, click on the first byte (80) and start replacing each byte by: C6 40 05 01 48 85 C9
  5. Finally, in the top left corner again, click on Save as and replace the old executable file with the newly created one.

Enjoy an Unlimited User License!

@Digital2Slave
Digital2Slave / disp_multiple_images.py
Last active February 23, 2021 09:27 — forked from soply/disp_multiple_images.py
Plot multiple images with matplotlib in a single figure. Titles can be given optionally as second argument.
import matplotlib.pyplot as plt
import numpy as np
def show_images(images, cols = 1, titles = None):
"""Display a list of images in a single figure with matplotlib.
Parameters
---------
images: List of np.arrays compatible with plt.imshow.
@Digital2Slave
Digital2Slave / depoly.prototxt
Last active July 29, 2017 02:03
caffe image recognization model and prototxt for transfer learning (fine-tuning)
name: "GoogleNet"
layer {
name: "data"
type: "Input"
top: "data"
input_param { shape: { dim: 10 dim: 3 dim: 224 dim: 224 } }
}
layer {
name: "conv1/7x7_s2"
type: "Convolution"