(myenv) user@user:~/stuff/Anomaly/CVDD-PyTorch/src$ python main.py newsgroups20 cvdd_Net ../log/test_newsgroups20 ../data --device cpu --seed 1 --clean_txt --embedding_size 300 --pretrained_model FastText_en --ad_score context_dist_mean --n_attention_heads 3 --attention_size 150 --lambda_p 1.0 --alpha_scheduler logarithmic --n_epochs 100 --lr 0.01 --lr_milestone 40 --normal_class 0; [nltk_data] Downloading package stopwords to [nltk_data] /home/user/nltk_data... [nltk_data] Package stopwords is already up-to-date! [nltk_data] Downloading package punkt to [nltk_data] /home/user/nltk_data... [nltk_data] Package punkt is already up-to-date! Better speed can be achieved with apex installed from https://www.github.com/nvidia/apex. INFO:root:Log file is ../log/test_newsgroups20/log.txt. INFO:root:Data path is ../data. INFO:root:Export path is ../log/test_newsgroups20. INFO:root:Dataset: newsgroups20 INFO:root:Normal class: 0 INFO:root:Network: cvdd_Net INFO:root:Tokenizer: spacy INFO:root:Clean text in pre-processing: True INFO:root:Word vector embedding size: 300 INFO:root:Load pre-trained model: FastText_en INFO:root:Anomaly Score: context_dist_mean INFO:root:Number of attention heads: 3 INFO:root:Attention size: 150 INFO:root:Orthogonality regularization hyperparameter: 1.000 INFO:root:Temperature alpha annealing strategy: logarithmic INFO:root:Set seed to 1. INFO:root:Computation device: cpu INFO:root:Number of dataloader workers: 0 INFO:torchnlp.download:Downloading wiki.en.vec wiki.en.vec: 0.00B [00:00, ?B/s] Traceback (most recent call last): File "main.py", line 230, in main() File "/home/user/stuff/Anomaly/CVDD-PyTorch/myenv/lib/python3.6/site-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/home/user/stuff/Anomaly/CVDD-PyTorch/myenv/lib/python3.6/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/home/user/stuff/Anomaly/CVDD-PyTorch/myenv/lib/python3.6/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/user/stuff/Anomaly/CVDD-PyTorch/myenv/lib/python3.6/site-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "main.py", line 146, in main n_attention_heads=cfg.settings['n_attention_heads']) File "/home/user/stuff/Anomaly/CVDD-PyTorch/src/cvdd.py", line 47, in set_network n_attention_heads=n_attention_heads) File "/home/user/stuff/Anomaly/CVDD-PyTorch/src/networks/main.py", line 24, in build_network word_vectors, embedding_size = load_word_vectors(pretrained_model, embedding_size, word_vectors_cache) File "/home/user/stuff/Anomaly/CVDD-PyTorch/src/utils/word_vectors.py", line 29, in load_word_vectors word_vectors = FastText(language='en', cache=word_vectors_cache) File "/home/user/stuff/Anomaly/CVDD-PyTorch/myenv/lib/python3.6/site-packages/torchnlp/word_to_vector/fast_text.py", line 83, in __init__ super(FastText, self).__init__(name, url=url, **kwargs) File "/home/user/stuff/Anomaly/CVDD-PyTorch/myenv/lib/python3.6/site-packages/torchnlp/word_to_vector/pretrained_word_vectors.py", line 71, in __init__ self.cache(name, cache, url=url) File "/home/user/stuff/Anomaly/CVDD-PyTorch/myenv/lib/python3.6/site-packages/torchnlp/word_to_vector/pretrained_word_vectors.py", line 110, in cache download_file_maybe_extract(url=url, directory=cache, check_files=[name]) File "/home/user/stuff/Anomaly/CVDD-PyTorch/myenv/lib/python3.6/site-packages/torchnlp/download.py", line 160, in download_file_maybe_extract urllib.request.urlretrieve(url, filename=filepath, reporthook=_reporthook(t)) File "/usr/lib/python3.6/urllib/request.py", line 248, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python3.6/urllib/request.py", line 532, in open response = meth(req, response) File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python3.6/urllib/request.py", line 570, in error return self._call_chain(*args) File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp)