回答編集履歴
1
fix context
test
CHANGED
@@ -2,6 +2,6 @@
|
|
2
2
|
|
3
3
|
[git - qubvel/segmentation_models.pytorch/encoders/\_\_init\_\_.py](https://github.com/qubvel/segmentation_models.pytorch/blob/67aceba4b832a36cb99c2184a06a204ba43c4ea1/segmentation_models_pytorch/encoders/__init__.py#L85)
|
4
4
|
|
5
|
-
`model_zoo.load_url()`の[ドキュメント](https://pytorch.org/docs/stable/model_zoo.html)
|
5
|
+
`model_zoo.load_url()`の[ドキュメント](https://pytorch.org/docs/stable/model_zoo.html)には,引数`model_dir`にディレクトリ名を与えておけば,このディレクトリ配下にモデルがある場合にはダウンロードを行わなさそうな記述があります.
|
6
6
|
> If the object is already present in *model_dir*, it’s deserialized and returned.
|
7
7
|
ので,これが可能になるような対応をしたらよいのではないでしょうか.
|