Traceback (most recent call last):

 "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)

 "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
utility.execute()

 "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)

 "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(*args, **options.__dict__)

 "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(*args, **options)

 "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
return self.handle_noargs(**options)

 "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 167, in handle_noargs
collected = self.collect()

 "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 118, in collect
for original_path, processed_path, processed in processor:

 "/Users/newscred/projects/python/cms/cms/pipeline/pipeline_storage.py", line 7, in post_process
for name, hashed_name, processed in super(GZipPipelineStorage, self).post_process(paths, dry_run, **options):

 "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/pipeline/storage.py", line 77, in post_process
if not matches_patterns(path, self.gzip_patterns):

 "/Users/newscred/projects/python/pycms/lib/python2.7/site-packages/django/contrib/staticfiles/utils.py", line 14, in matches_patterns
if fnmatch.fnmatchcase(path, pattern):

 "/Users/newscred/projects/python/pycms/lib/python2.7/fnmatch.py", line 79, in fnmatchcase
return _cache[pat].match(name) is not NoneTypeError: expected string or buffer
Traceback (most recent call last):


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

main(config)


 "main.py", line 49, in main

solver.test()


 "D:\pytorchdemo\StarGAN-master\solver.py", line 526, in test

self.restore_model(self.test_iters)


 "D:\pytorchdemo\StarGAN-master\solver.py", line 103, in restore_model

self.G.load_state_dict(torch.load(G_path, map_location=lambda storage, loc: storage))


 "C:\Program 
s\Python35\lib\site-packages\torch\nn\modules\module.py", line 721, in load_state_dict

self.__class__.__name__, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for Generator: