This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
!startsub main | |
!define C_BLACK 000000 | |
!define C_WHITE FFFFFF | |
!define C_ROSE_50 FFF1F2 | |
!define C_ROSE_100 FFE4E6 | |
!define C_ROSE_200 FECDD3 | |
!define C_ROSE_300 FDA4AF | |
!define C_ROSE_400 FB7185 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias z='guild' | |
alias zr='guild run' | |
alias zry='guild run -y' | |
alias zrm='guild runs rm' | |
alias zrs='guild runs' | |
alias zm='guild mark' | |
alias zm1='guild mark -y 1' | |
alias zmc='guild mark --clear' | |
alias zrsi='guild runs info' | |
alias ztb='guild tensorboard --host localhost -Sr -Ft tb --skip-hparams --skip-images' |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PIL.Image | |
from io import BytesIO | |
import IPython.display | |
import numpy as np | |
def show_array(a, fmt='png'): | |
f = BytesIO() | |
PIL.Image.fromarray(np.uint8(a)).save(f, fmt) | |
IPython.display.display(IPython.display.Image(data=f.getvalue())) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map v scrollPageDown | |
map c scrollPageUp | |
map V scrollDown | |
map C scrollUp | |
map <c-v> scrollFullPageDown | |
map <c-c> scrollFullPageUp | |
map w LinkHints.activateMode | |
map F LinkHints.activateModeToOpenInNewTab | |
map f LinkHints.activateModeToOpenInNewForegroundTab |