Traceback (most recent call last):



 "/fastdisk/Sugeeth/miniconda3/envs/offline/bin/fairseq-train", line 33, in <module>

sys.exit(load_entry_point('fairseq', 'console_scripts', 'fairseq-train')())


 "/fastdisk/Sugeeth/offline/fairseq/fairseq_cli/train.py", line 491, in cli_main

distributed_utils.call_main(cfg, main)


 "/fastdisk/Sugeeth/offline/fairseq/fairseq/distributed/utils.py", line 369, in call_main

main(cfg, **kwargs)


 "/fastdisk/Sugeeth/offline/fairseq/fairseq_cli/train.py", line 169, in main

valid_losses, should_stop = train(cfg, trainer, task, epoch_itr)


 "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/contextlib.py", line 74, in inner

return func(*args, **kwds)


 "/fastdisk/Sugeeth/offline/fairseq/fairseq_cli/train.py", line 279, in train

log_output = trainer.train_step(samples)


 "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/contextlib.py", line 74, in inner

return func(*args, **kwds)


 "/fastdisk/Sugeeth/offline/fairseq/fairseq/trainer.py", line 668, in train_step

ignore_grad=is_dummy_batch,


 "/fastdisk/Sugeeth/offline/fairseq/fairseq/tasks/fairseq_task.py", line 475, in train_step

loss, sample_size, logging_output = criterion(model, sample)


 "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl

result = self.forward(*input, **kwargs)


 "/fastdisk/Sugeeth/offline/fairseq/fairseq/criterions/label_smoothed_cross_entropy.py", line 79, in forward

net_output = model(**sample["net_input"])


 "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl

result = self.forward(*input, **kwargs)


 "/fastdisk/Sugeeth/offline/fairseq/fairseq/models/speech_to_text/s2t_transformer.py", line 268, in forward

encoder_out = self.encoder(src_tokens=src_tokens, src_lengths=src_lengths)


 "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl

result = self.forward(*input, **kwargs)


 "/fastdisk/Sugeeth/offline/fairseq/fairseq/models/speech_to_text/s2t_transformer.py", line 337, in forward

if self.num_updates < self.encoder_freezing_updates:
TypeError: '<' not supported between instances of 'int' and 'NoneType'

Traceback (most recent call last):


 "C:\MyData\TTT\LINE-master\echobot.py", line 5, in <module>

client = LineClient("ID", "PS")


 "C:\MyData\TTT\LINE-master\line\client.py", line 88, in __init__

self.login()


 "C:\MyData\TTT\LINE-master\line\api.py", line 124, in login

self.com_name, self.provider, self.certificate)


 "C:\Python27\lib\site-packages\curve\CurveThrift.py", line 343, in loginWithIdentityCredentialForCertificate

self.send_loginWithIdentityCredentialForCertificate(identifier, password, keyname, crypto, keepLoggedIn, accessLocation, systemName, identityProvider, certificate)


 "C:\Python27\lib\site-packages\curve\CurveThrift.py", line 358, in send_loginWithIdentityCredentialForCertificate

args.write(self._oprot)


 "C:\Python27\lib\site-packages\curve\CurveThrift.py", line 2424, in write

oprot.writeString(self.keyname)


 "C:\Python27\lib\site-packages\thrift\protocol\TProtocol.py", line 121, in writeString

self.writeBinary(str_to_binary(str_val))


 "C:\Python27\lib\site-packages\thrift\protocol\TCompactProtocol.py", line 42, in nested

return func(self, *args, **kwargs)


 "C:\Python27\lib\site-packages\thrift\protocol\TCompactProtocol.py", line 272, in __writeBinary

self.trans.write(s)


 "C:\Python27\lib\site-packages\thrift\transport\THttpClient.py", line 134, in write

self.__wbuf.write(buf)
TypeError: 'unicode' does not have the buffer interface
