Skip to content

Instantly share code, notes, and snippets.

View mrnabati's full-sized avatar

Ramin Nabati mrnabati

  • Apple
  • Seattle, WA
View GitHub Profile
@mrnabati
mrnabati / jupyterOutputDefault.md
Created May 3, 2020 04:28
Display all outputs in Jupyter Notebook

Display full outputs in Jupyter Notebook, not only the last command's output.

from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
@mrnabati
mrnabati / 008_adv_pytorch_freezing_layers.ipynb
Last active June 21, 2020 21:06
PyTorch 101: Freezing Layers
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mrnabati
mrnabati / 010_advanced_pytorch_modifying_the_last_layer.ipynb
Created June 21, 2020 21:14
Adv. PyTorch: Modifying the Last Layer
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mrnabati
mrnabati / install_tmux.sh
Created August 5, 2020 15:08
Installing The Newest version of tmux on CentOS
# Choose repo name from {'galaxy4-rhel6.repo', 'galaxy4-rhel7.repo', 'galaxy4-rhel8.repo'} based on your CentOS version.
sudo wget -P /etc/yum.repos.d/ http://galaxy4.net/repo/galaxy4-rhel7.repo
sudo yum repolist galaxy4-rhel7
sudo yum install tmux