Show progress bar in jupyter notebook
1 | from tqdm import tqdm |
ncols
will determine the length of process bar.
1 | from tqdm import tqdm |
ncols
will determine the length of process bar.
Check this repo.
This is a template of argparse
.
1 | import argparse |
or
1 | parser = argparse.ArgumentParser(description="description of this script") |
Pass boolean flag via
1 | parser.add_argument('--flag', action="store_true", help="this is your boolean value") |
python script.py -h
to show the help of parameters.
np.where
seems to be an important function that need to
be noticed.
Two examples to show its function.
np.where(condition, x, y)
1 | >>> import numpy as np |
np.where(condition)
1 | >>> import numpy as np |
This project can be build successfully. But it can not run in Xcode(13.2.1).
'/opt/homebrew/Cellar/glfw/3.3.6/lib/libglfw.3.3.dylib' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?))
The problem is the .dylib
you used is not signed by
apple. You can choose to codesign
the lib, otherwise you
can choose not to sign the project.
GO TO
TARGETS->Build Settings->Code Signing Identity->Others
.
In default, it is '-'. Just delete it.
install homebrew
https://brew.sh
and download
homebrew
brew install glfw
Put your unziped file in:
/Applications/Blender.app/Contents/Resources/3.0/scripts/addons
Enable add-on:
Blender->Edit->Preferences->Add-ons
Search your add-on and enable it.
Apps:
Network Monitor, VPN, The Unarchiver, 迅雷, IINA, Keynotes, Pages, GoodNotes, Words, Excel, Typora, Final Cut Pro X, Steam, Chrome, QQ, Notion, AltServer, Microsoft Remote Desktop, VScode, Developer, Xcode
Development:
Conda, Hexo, oh-my-zsh, vim color scheme, homebrew, clang
PyTorch, tensorflow-apple
Embedding a technique widely used in Recommender System. The first time I met it, it confuesd me for a long time. Now let me take 5 minutes to tell you what is Embedding. It will be just a brief introduction without going to details.