Traceback (most recent call last):


 "C:/Users/--/PycharmProjects/deeppacket-KimythAnly/rdpcpTry.py", line 17, in <module>

outfile.write(line)
TypeError: a bytes-like object is required, not 'int'

Traceback (most recent call last):


 "train.py", line 198, in <module>

cost = trainBatch(crnn, criterion, optimizer)


 "train.py", line 173, in trainBatch

data = train_iter.next()


 "/home/chase/anaconda3/envs/maskrcnn_benchmark1/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 637, in __next__

return self._process_next_batch(batch)


 "/home/chase/anaconda3/envs/maskrcnn_benchmark1/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 658, in _process_next_batch

raise batch.exc_type(batch.exc_msg)
TypeError: function takes exactly 5 arguments (1 given)
