내용으로 건너뛰기
Out of the Box
사용자 도구
로그인
사이트 도구
검색
도구
문서 보기
이전 판
Fold/unfold all
역링크
최근 바뀜
미디어 관리자
사이트맵
로그인
>
최근 바뀜
미디어 관리자
사이트맵
추적:
•
pytest
•
container
pytorch
이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요.
====== PyTorch ====== ===== examples ===== * https://github.com/pytorch/examples * https://github.com/bharathgs/Awesome-pytorch-list * http://pytorch.org/tutorials/ * https://github.com/salesforce/matchbox/blob/master/examples/transformer.py * https://github.com/rasbt/deeplearning-models ====== Optimization ====== * [[https://nvlabs.github.io/eccv2020-mixed-precision-tutorial/files/szymon_migacz-pytorch-performance-tuning-guide.pdf|pytorch performance tuning guide, 2020-08]] * https://www.youtube.com/watch?v=9mS1fIYj1So * https://twitter.com/karpathy/status/1299921324333170689 ===== Dataloader ====== * https://tanelp.github.io/posts/a-bug-that-plagues-thousands-of-open-source-ml-projects/ ===== Pytorch visualization ===== * https://github.com/szagoruyko/pytorchviz ===== PyTorch + TensorBoard ===== <code python> # https://gist.github.com/avacariu/92db7b7f1fa1696279e9029f0237e2d4 #!/usr/bin/env python3.6 import time import tensorflow as tf summary_writer = tf.summary.FileWriter("./logdir") for i in range(100_000): s = tf.Summary(value=[tf.Summary.Value(tag="the-value", simple_value=i/10)]) summary_writer.add_summary(s, i) time.sleep(0.5) # while the above is running, execute # tensorboard --logdir ./logdir # See https://github.com/lanpa/tensorboard-pytorch/blob/master/tensorboardX/summary.py # for different kinds of summaries you can create (e.g. histograms) </code> * https://github.com/lanpa/tensorboard-pytorch * https://github.com/TeamHG-Memex/tensorboard_logger ===== Deployment ===== * https://medium.com/@nicolas.metallo/deploy-your-pytorch-model-to-production-f69460192217 * pytorch + Nodejs * http://blog.christianperone.com/2018/10/pytorch-1-0-tracing-jit-and-libtorch-c-api-to-integrate-pytorch-into-nodejs/ ===== MongoDB에 모델 저장 ===== <code python> col.insert_one(dict(state_dict=cloudpickle.dumps(net.state_dict())) state_dict = cloudpickle.loads(col.find_one()['state_dict']) </code> ===== gradient 직접 수정 ===== <code python> loss.backward() for p in model.parameters(): p.grad *= C # or whatever other operation optimizer.step() </code> ===== gradient 사용 안함(학습 안함) ===== <code python> for param in model.parameters(): param.requires_grad = False </code> ===== 네트워크 시각화 ===== * https://github.com/lutzroeder/netron ===== others ===== * https://github.com/uber/pyro * https://www.kymat.io/ * https://github.com/rtqichen/torchdiffeq/tree/master/examples * https://github.com/keunwoochoi/torchaudio-contrib ===== pytorch - graph ===== * https://github.com/facebookresearch/PyTorch-BigGraph ===== deployment ===== * https://towardsdatascience.com/how-to-pytorch-in-production-743cb6aac9d4 * https://github.com/pytorch/QNNPACK ====== Polyak averaging ===== <code python> soft_tau = 0.01 for target_param, param in zip(target_net.parameters(), net.parameters()): target_param.data.copy_(target_param.data * (1.0 - soft_tau) + param.data * soft_tau) </code> * https://towardsdatascience.com/soft-actor-critic-demystified-b8427df61665 ===== GPU ====== * https://towardsdatascience.com/speed-up-your-algorithms-part-1-pytorch-56d8a4ae7051 ===== PyTroch TVM ===== * https://tvm.ai/2019/05/30/pytorch-frontend ===== PyTorch C++ ===== * https://krshrimali.github.io/Announcing-PyTorch-CPP-Series/ ===== options ===== <code python> torch.set_printoptions(linewidth=120) torch.set_grad_enabled(True) </code> ===== custom layer 구현 ===== * https://towardsdatascience.com/how-to-build-your-own-pytorch-neural-network-layer-from-scratch-842144d623f6 ===== RL ===== * RLkit: Reinforcement learning framework and algorithms implemented in PyTorch * https://github.com/vitchyr/rlkit ===== scikit -> pytorch ==== * https://github.com/microsoft/hummingbird ===== Lazy Tensor ===== * http://www.kernel-operations.io/keops/index.html {{tag>pytorch python}} ===== Computer Vision ===== * https://github.com/kornia/kornia {{tag>pytorch CV vision kornia}} ===== Pytorch for ARM64 ===== * https://mathinf.com/pytorch/arm64/ {{tag>pytorch arm64 rasberry_pi}}
pytorch.txt
· 마지막으로 수정됨: 2024/03/23 02:38 저자
127.0.0.1
문서 도구
문서 보기
이전 판
역링크
Fold/unfold all
맨 위로