We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e35a0d commit 803eb28Copy full SHA for 803eb28
ppsci/data/dataset/stafnet_dataset.py
@@ -4,7 +4,11 @@
4
import numpy as np
5
import paddle
6
import pandas
7
-import pgl
+try:
8
+ import pgl
9
+except ModuleNotFoundError as e:
10
+ logger.error("please install pgl with \'pip install pgl\'.")
11
+ raise ModuleNotFoundError(str(e))
12
from paddle import io
13
from paddle.io import DataLoader
14
from scipy.spatial.distance import cdist
0 commit comments