```Traceback (most recent call last):


 "/**/cloud-custodian/bin/c7n-mailer", line 11, in <module>

load_entry_point('c7n-mailer', 'console_scripts', 'c7n-mailer')()


 "/**/cloud-custodian/tools/c7n_mailer/c7n_mailer/cli.py", line 146, in main

MailerSqsQueueProcessor(mailer_config, aws_session, logger).run()


 "/**/cloud-custodian/tools/c7n_mailer/c7n_mailer/sqs_queue_processor.py", line 126, in run

self.process_sqs_message(sqs_message)


 "/**/cloud-custodian/tools/c7n_mailer/c7n_mailer/sqs_queue_processor.py", line 158, in process_sqs_message

to_addrs_to_email_messages_map = email_delivery.get_to_addrs_email_messages_map(sqs_message)


 "/**/cloud-custodian/tools/c7n_mailer/c7n_mailer/email_delivery.py", line 235, in get_to_addrs_email_messages_map

to_addrs_to_resources_map = self.get_email_to_addrs_to_resources_map(sqs_message)


 "/**/cloud-custodian/tools/c7n_mailer/c7n_mailer/email_delivery.py", line 225, in get_email_to_addrs_to_resources_map

resource_emails = tuple(sorted(set(resource_emails)))
TypeError: unhashable type: 'list'

Traceback (most recent call last):


 "main.py", line 434, in <module>

main_worker(-1, opt)


 "main.py", line 398, in main_worker

scheduler)


 "main.py", line 316, in save_checkpoint

torch.save(save_states, save_file_path)


 "/usr/local/lib/python3.5/dist-packages/torch/serialization.py", line 224, in save

return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol))


 "/usr/local/lib/python3.5/dist-packages/torch/serialization.py", line 147, in _with_file_like

f = open(f, mode)
TypeError: invalid file: PosixPath('/home/liuhao/testCode/ResNets_3D_PyTorch/data/results/save_10.pth')
