2021-01-01から1年間の記事一覧
前回から引き続きDockerの記事です。 ↓前回の記事 satoharu25.hatenablog.com 今回は、GPUマシン上でDocker環境を構築し、CUDAを設定する箇所まで行います。 ホストマシン上でのCUDAの設定までは終わっているものとします。 CUDAの設定については過去に記事…
DockerでUbuntuを立ち上げ、pyenv環境まで構築したい(願望)。 背景 M1 Macが発売されて以降、MacOSでのpyenvを用いたpythonの環境構築がめんどくさい。 いっそのこと、Ubuntu上を立ち上げてめんどくさいことなしで、armでのPython環境を構築すれば一気に解…
日頃使用しているPythonがメジャーアップデートしました。 www.python.org Major new features of the 3.10 series, compared to 3.9 Among the new major new features and changes so far: PEP 623 -- Deprecate and prepare for the removal of the wstr …
平均クラスタ係数 /* cspell:disable-file */ /* webkit printing magic: print all background colors */ html { -webkit-print-color-adjust: exact; } { box-sizing: border-box; -webkit-print-color-adjust: exact; }html, body { margin: 0; padding: …
Black is the uncompromising Python code formatter. By using it, you agree to cede control over minutiae of hand-formatting. In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting. You will save…
ONNX Runtime for PyTorch accelerates PyTorch model training using ONNX Runtime. It is available via the torch-ort python package. This repository contains the source code for the package, as well as instructions for running the package. To…
Progress on object detection is enabled by datasets that focus the research community's attention on open challenges. This process led us from simple images to complex scenes and from bounding boxes to segmentation masks. In this work, we …
先日pyenv updateして.bachrcを読み込み直すと以下のWARNIINGが発生。pyenv でセットアップしたpythonの環境が使えなくなった。 WARNING: `pyenv init -` no longer sets PATH. Run `pyenv init` to see the necessary changes to make to your configuratio…
"Visual Studio Code is unable to watch for file changes in this large workspace" (error ENOSPC) When you see this notification, it indicates that the VS Code file watcher is running out of handles because the workspace is large and contain…
pytorch 1.8.0がリリースされました。 github.com 早速アップデート pip install --upgrade torch torchvision torchaudio すると, Traceback (most recent call last): File "/home/satoharu/benchmark_NN/classification/src/train.py", line 95, in <module> main</module>…
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600 sudo apt-key adv --fetch-keys https://developer.download.nvidia.…
前回から少し実行コマンドを変更しました. RTX3090(×4) time python -m torch.distributed.launch --nproc_per_node 4 train.py --batch-size 64 --data coco.yaml --weights yolov5s.pt --epochs 1 Evaluating pycocotools mAP... saving runs/train/exp11/…
RTX3090を搭載したサーバーが研究室に来たのでyolov5の学習をしてみてGTX 1080TIと比較してみました. 実験設定として, batch 64, epoch1, GPU4基でData Paralelをしてます. RTX 3090サーバー(RTX 3090×4) Evaluating pycocotools mAP... saving runs/train/…