Snippets Collections
# Visualize one training batch
for images, labels in train_data_loader:
    fig, ax = plt.subplots(figsize = (10, 10))
    ax.imshow(make_grid(images, 4).permute(1,2,0))
ūüĎ®‚ÄćūüíĽ boilerplate code

hugo new content/posts/
hugo new site my-portfolio-example
# defaultTheme = "dark"

Git push:
# Example of the commands and how they apply to my project
cd my-portfolio-example
git init
git remote add origin
git add -A
git commit -m "Initial commit"
git push -u origin master

# when pushing from a new branch
git checkout -b <branch>
git add .
git commit -m "comment"
git push -u origin <branch>

# Bring a local folder to remote git repo
 $ git init
 $ git add .
 $ git commit -m "First commit"
 $ git remote add origin <remote repository URL>
 # Sets the new remote
 $ git remote -v
 # Verifies the new remote URL

# create pandas df from python dict
data = {'col_1': [3, 2, 1, 0], 'col_2': ['a', 'b', 'c', 'd']}

Drive mount:
from google.colab import drive

python essential:
#!/usr/bin/env python

python virtual env:
pip install -r requirements.txt
mkdir TextGenEnv
virtualenv TextGenEnv
TextGenEnv\Scripts\activate (for bash source ./Scripts/activate)
pip install -r requirements.txt
python -m scikit-learn --version

<p align="center">
<img width="300" height="250" src="">

python name data/SV2TTS/encoder/ --no_visdom
data = np.transpose(data, axes=[3, 2, 1, 0])


g++ -o rp linear_search.cpp

<p align="center">
<img src="../imgs/pointer.png">
To insert tab space between two words/sentences I usually use
&emsp; and &ensp;

fast learn
fast fail
intelectual decision(head quater at pakistan)
collage, professional, modern,executive

layout: post
title: Flake it till you make it
subtitle: Excerpt from Soulshaping by Jeff Brown
cover-img: /assets/img/path.jpg
thumbnail-img: /assets/img/thumb.png
share-img: /assets/img/path.jpg
tags: [books, test]

show all row and columns:
pd.set_option('display.max_columns', None)
pd.set_option('display.max_rows', None)

+++++++++Center text in markdown+++++++++
<h1 align="center">Crima</h1>

i think it would be great to have - [ ] if unchecked and - [x]if checked in lists.

_______________Windows terminal EXE________________________

npx localtunnel --port 8501

I have been watching some deep Learning implementations, But don't really understand why the model is taking two inputs, `X_train, assets_train` for training? Why can't someone just train the model with the provided training data, is it really necessary to include `asset_details.csv`?
**It would be really helpful if you can answer. Thank you.**


1e-4 = 0.0001

Shift+Ctrl+C to add a checkbox
Ctrl+B to bold
Ctrl+I to italic
Ctrl+U to underline
Shift+Ctrl+S.... you know the story

As @slawekbiel said ` Likewise restarting the kernel picks up the new version.`
1. After doing `!pip -v install numpy==1.20.0`
2. Do `Run` --> `restart and clear cell output`/ I understand that
3. And then run the code,
import numpy as np
arr = np.zeros((1,2)) + np.zeros((3,2,1))
np.broadcast_shapes((1, 2),(3,2,1))
# 1.20.0
# (3, 2, 2)
<p align="center">
<img src="">
<!doctype html>

<html lang="en">
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">



	<link rel="stylesheet" href="styles.css">

	/* BULMA */

 	<link rel="stylesheet" href="">
	<script src="" data-auto-	a11y="true"></script>


	<script src="script.js"></script>


Wed Feb 09 2022 18:13:34 GMT+0000 (UTC)

#boilerplate #python #grid

Sat Feb 05 2022 06:32:42 GMT+0000 (UTC)


Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension