TopicNet
TopicNet copied to clipboard
Datasets not loading
Hello! Can't download the datasets! Data manager functions get_info
and load_dataset
produce some ugly looking urllib.error.URLError
...
Hello! I am sorry to hear that. Indeed, the dataset functionality is broken. Again 😅 Looks like it's a very "thin part" of the TopicNet library that needs constant monitoring...
Anyway, until there is an official fix, you can handle the error in the following way. Find the topicnet
folder on your computer:
$ python
>>> import topicnet
>>> print(topicnet.__file__) # topicnet's source folder
After that, open the <topicnet folder>/dataset_manager/api.py
file and fix the following line:
# Line 20
# _SERVER_URL = 'https://topicnet-datasets.machine-intelligence.ru' # Old value
_SERVER_URL = 'https://topicnet-datasets.mil-team.ru' # The fix
And that's it 🙂
P.S. Thanks for finding the bug!
See also: https://github.com/machine-intelligence-laboratory/TopicNet/issues/95.