Skip to content

Instantly share code, notes, and snippets.

View rs9899's full-sized avatar
:dependabot:
Moving around

Rupesh rs9899

:dependabot:
Moving around
View GitHub Profile
@rs9899
rs9899 / model.py
Created May 28, 2020 07:30
Making a custom keras architecture
import numpy as np
import os
import numpy as np
import tensorflow as tf
from tensorflow.keras.models import *
from tensorflow.keras.layers import *
def model(pretrained_weights = None,input_size = (224,224,3), outchannel = 25, dropout_p = 0.25):
inputTensor = tf.keras.Input(IMG_SHAPE)
## Feature extractor network
@bdlangton
bdlangton / tmux.md
Last active May 1, 2024 12:09
Tmux Commands

NOTE: All commands that start with tmux can be executed within a tmux session by typing prefix, followed by :, then type the rest of the command (after tmux).

There is a binary script called tat that can be run and it will create a new session named after the directory that you are currently in. If a session with that name already exists, it will just open that session.

Sessions

Command Description
tmux new -s [session name] Start new named session
prefix s Choose a different session using fzf (custom mapping)