First, I import this package (constants) by the following code:
import constants
Then, an error which is ’ AttributeError: module ‘constants’ has no attribute ‘TOP_K’ ', raises when I writte the following code:
constants.TOP_K
Can anyone fix this problem? Thanks.
BTW, my python version is python3.6.