An open API service indexing awesome lists of open source software.

https://github.com/negi524/learning-pytorch

PyTorchの練習
https://github.com/negi524/learning-pytorch

Last synced: 3 months ago
JSON representation

PyTorchの練習

Awesome Lists containing this project

README

        

# learning-pytorch
PyTorch学習用の環境

## プロジェクトインストール

```bash
poetry install
```

## credentialファイル作成

```bash
cp src/.env.sample src/.env
```

## プログラム実行

```bash
poetry run python src/main.py
```

or

```bash
make main
```

## フォーマット

```bash
make format
```

## テスト実行

```bash
make test
```

## 型チェック

```bash
make type-check
```

## 全てまとめてチェック

```bash
make format test type-check
```

## リポジトリのバージョンアップ

```bash
poetry version <バージョン>
```

## パッケージのバージョンアップ

```bash
poetry search <パッケージ名>
```

`pyproject.toml`を確認し、必要であれば制約を修正する。
その後

```bash
poetry update
```

[poetry documentation](https://python-poetry.org/docs/cli/#update)

## サンプルデータ入手先
- [環境省パンフレット(PDF)](https://www.env.go.jp/guide/gyomu_pdf/index.html)