From 17678229b4b977bd4d17f44d9b7d4c0827eaace8 Mon Sep 17 00:00:00 2001 From: Santiago Castro Date: Wed, 29 Jul 2020 07:54:14 -0400 Subject: [PATCH] Fix a deprecation warning (#2746) --- pytorch_lightning/utilities/apply_func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch_lightning/utilities/apply_func.py b/pytorch_lightning/utilities/apply_func.py index 5846214636..6f9b8e176f 100644 --- a/pytorch_lightning/utilities/apply_func.py +++ b/pytorch_lightning/utilities/apply_func.py @@ -1,5 +1,5 @@ from abc import ABC -from collections import Mapping, Sequence +from collections.abc import Mapping, Sequence from copy import copy from typing import Any, Callable, Union