Traceback (most recent call last):


 "run.py", line 53, in <module>

train(config, model, train_iter, dev_iter, test_iter)


 "/home/zgy/wll/Chinese-Text-Classification-Pytorch-master/train_eval.py", line 40, in train

writer = SummaryWriter(log_dir=config.log_path + '/' + time.strftime('%m-%d_%H.%M', time.localtime()))
AttributeError: 'Config' object has no attribute 'log_path'
`Traceback (most recent call last):


 "<pyshell#0>", line 1, in <module>

from telethon import TelegramClient


 "C:\Python34\lib\site-packages\telethon\__init__.py", line 3, in <module>

from .interactive_telegram_client import InteractiveTelegramClient


 "C:\Python34\lib\site-packages\telethon\interactive_telegram_client.py", line 10, in <module>

cols, rows = shutil.get_terminal_size()


 "C:\Python34\lib\shutil.py", line 1057, in get_terminal_size

size = os.get_terminal_size(sys.__stdout__.fileno())
AttributeError: 'NoneType' object has no attribute 'fileno'`