You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\Users\dpzc7\anaconda3\lib\site-packages\win32\lib\pywintypes.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp, sys, os
C:\Users\dpzc7\anaconda3\lib\site-packages\scipy\fft_init_.py:97: DeprecationWarning: The module numpy.dual is deprecated. Instead of using dual, use the functions directly from numpy or scipy.
from numpy.dual import register_func
C:\Users\dpzc7\anaconda3\lib\site-packages\scipy\sparse\sputils.py:17: DeprecationWarning: np.typeDict is a deprecated alias for np.sctypeDict.
supported_dtypes = [np.typeDict[x] for x in supported_dtypes]
C:\Users\dpzc7\anaconda3\lib\site-packages\scipy\special\orthogonal.py:81: DeprecationWarning: np.int is a deprecated alias for the builtin int. To silence this warning, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
from numpy import (exp, inf, pi, sqrt, floor, sin, cos, around, int,
Traceback (most recent call last):
File "C:/Users/dpzc7/PycharmProjects/PaddleHelix-dev/apps/pretrained_compound/ChemRL/GEM/finetune_class.py", line 258, in
main(args)
File "C:/Users/dpzc7/PycharmProjects/PaddleHelix-dev/apps/pretrained_compound/ChemRL/GEM/finetune_class.py", line 117, in main
compound_encoder_config = load_json_config(args.compound_encoder_config)
File "C:\Users\dpzc7\PycharmProjects\PaddleHelix-dev\pahelix\utils\basic_utils.py", line 58, in load_json_config
return json.load(open(path, 'r'))
TypeError: expected str, bytes or os.PathLike object, not NoneType
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
hi eshinesimida,
According to the error info, it seemed that the compound_encoder_config is not configed properly. Can you post the command you use to run GEM or print the compound_encoder_config path?
C:\Users\dpzc7\anaconda3\lib\site-packages\win32\lib\pywintypes.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp, sys, os
C:\Users\dpzc7\anaconda3\lib\site-packages\scipy\fft_init_.py:97: DeprecationWarning: The module numpy.dual is deprecated. Instead of using dual, use the functions directly from numpy or scipy.
from numpy.dual import register_func
C:\Users\dpzc7\anaconda3\lib\site-packages\scipy\sparse\sputils.py:17: DeprecationWarning:
np.typeDict
is a deprecated alias fornp.sctypeDict
.supported_dtypes = [np.typeDict[x] for x in supported_dtypes]
C:\Users\dpzc7\anaconda3\lib\site-packages\scipy\special\orthogonal.py:81: DeprecationWarning:
np.int
is a deprecated alias for the builtinint
. To silence this warning, useint
by itself. Doing this will not modify any behavior and is safe. When replacingnp.int
, you may wish to use e.g.np.int64
ornp.int32
to specify the precision. If you wish to review your current use, check the release note link for additional information.Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
from numpy import (exp, inf, pi, sqrt, floor, sin, cos, around, int,
Traceback (most recent call last):
File "C:/Users/dpzc7/PycharmProjects/PaddleHelix-dev/apps/pretrained_compound/ChemRL/GEM/finetune_class.py", line 258, in
main(args)
File "C:/Users/dpzc7/PycharmProjects/PaddleHelix-dev/apps/pretrained_compound/ChemRL/GEM/finetune_class.py", line 117, in main
compound_encoder_config = load_json_config(args.compound_encoder_config)
File "C:\Users\dpzc7\PycharmProjects\PaddleHelix-dev\pahelix\utils\basic_utils.py", line 58, in load_json_config
return json.load(open(path, 'r'))
TypeError: expected str, bytes or os.PathLike object, not NoneType
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: