{"action":"created","issue":{"url":"https://api.github.com/repos/bfs18/nsynth_wavenet/issues/31","repository_url":"https://api.github.com/repos/bfs18/nsynth_wavenet","labels_url":"https://api.github.com/repos/bfs18/nsynth_wavenet/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/bfs18/nsynth_wavenet/issues/31/comments","events_url":"https://api.github.com/repos/bfs18/nsynth_wavenet/issues/31/events","html_url":"https://github.com/bfs18/nsynth_wavenet/issues/31","id":374668080,"node_id":"MDU6SXNzdWUzNzQ2NjgwODA=","number":31,"title":"TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'","user":{"login":"ishandutta2007","id":2527354,"node_id":"MDQ6VXNlcjI1MjczNTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2527354?v=4","gravatar_id":"","url":"https://api.github.com/users/ishandutta2007","html_url":"https://github.com/ishandutta2007","followers_url":"https://api.github.com/users/ishandutta2007/followers","following_url":"https://api.github.com/users/ishandutta2007/following{/other_user}","gists_url":"https://api.github.com/users/ishandutta2007/gists{/gist_id}","starred_url":"https://api.github.com/users/ishandutta2007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishandutta2007/subscriptions","organizations_url":"https://api.github.com/users/ishandutta2007/orgs","repos_url":"https://api.github.com/users/ishandutta2007/repos","events_url":"https://api.github.com/users/ishandutta2007/events{/privacy}","received_events_url":"https://api.github.com/users/ishandutta2007/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-27T17:22:37Z","updated_at":"2018-10-28T01:47:15Z","closed_at":"2018-10-28T01:47:15Z","author_association":"NONE","body":"I downloaded pretrained model :  https://drive.google.com/file/d/17bt6laBcTcjZCsLUzdTjtaH2hQQyki8E/view\r\ncreated a directory `PWN_LOGDIR` and then executed\r\n\r\nishandutta2007@MacBook-Pro:~/Documents/Projects/nsynth_wavenet$ `python eval_parallel_wavenet.py --ckpt_dir PWN_LOGDIR --source_path \"tests/test_data\" --save_path \"tests/pred_data\"`\r\n\r\n> ERROR:tensorflow:Couldn't match files for checkpoint /Users/ishandutta2007/Documents/Projects/nsynth_wavenet/PWN_LOGDIR/model.ckpt-170610\r\n> Traceback (most recent call last):\r\n>   File \"eval_parallel_wavenet.py\", line 94, in <module>\r\n>     generate(args)\r\n>   File \"eval_parallel_wavenet.py\", line 23, in generate\r\n>     assert tf.train.checkpoint_exists(checkpoint_path)\r\n>   File \"/Users/ishandutta2007/.pyenv/versions/3.6.0/lib/python3.6/site-packages/tensorflow/python/training/checkpoint_management.py\", line 363, in checkpoint_exists\r\n>     saver_pb2.SaverDef.V2)\r\n>   File \"/Users/ishandutta2007/.pyenv/versions/3.6.0/lib/python3.6/site-packages/tensorflow/python/training/checkpoint_management.py\", line 313, in _prefix_to_checkpoint_path\r\n>     return prefix + \".index\"  # The index file identifies a checkpoint.\r\n> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'\r\n> "},"comment":{"url":"https://api.github.com/repos/bfs18/nsynth_wavenet/issues/comments/433669441","html_url":"https://github.com/bfs18/nsynth_wavenet/issues/31#issuecomment-433669441","issue_url":"https://api.github.com/repos/bfs18/nsynth_wavenet/issues/31","id":433669441,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzY2OTQ0MQ==","user":{"login":"ishandutta2007","id":2527354,"node_id":"MDQ6VXNlcjI1MjczNTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2527354?v=4","gravatar_id":"","url":"https://api.github.com/users/ishandutta2007","html_url":"https://github.com/ishandutta2007","followers_url":"https://api.github.com/users/ishandutta2007/followers","following_url":"https://api.github.com/users/ishandutta2007/following{/other_user}","gists_url":"https://api.github.com/users/ishandutta2007/gists{/gist_id}","starred_url":"https://api.github.com/users/ishandutta2007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishandutta2007/subscriptions","organizations_url":"https://api.github.com/users/ishandutta2007/orgs","repos_url":"https://api.github.com/users/ishandutta2007/repos","events_url":"https://api.github.com/users/ishandutta2007/events{/privacy}","received_events_url":"https://api.github.com/users/ishandutta2007/received_events","type":"User","site_admin":false},"created_at":"2018-10-28T01:47:15Z","updated_at":"2018-10-28T01:47:15Z","author_association":"NONE","body":"From the above error we can see the code looks for file without the extension `eval` which the downloaded checkpoints had. \r\n\r\nI had to remane the downloaded files from \r\n`model.ckpt-170610-eval.data-00000-of-00001` to `model.ckpt-170610.data-00000-of-00001`\r\n`model.ckpt-170610-eval.index` to `model.ckpt-170610.index`"}}
{"actor":{"display_login":"ishandutta2007"}}