An error raise when using python package 'constants'

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:


Can anyone fix this problem? Thanks.
BTW, my python version is python3.6.

This issue doesn’t seem to be PyTorch-related, so I would recommend to post the question in the project repository.