{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1135","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1135/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1135/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1135/events","html_url":"https://github.com/tensorflow/tensorflow/issues/1135","id":134187101,"number":1135,"title":"Saver errors in 0.7.0","user":{"login":"aymericdamien","id":10386605,"avatar_url":"https://avatars.githubusercontent.com/u/10386605?v=3","gravatar_id":"","url":"https://api.github.com/users/aymericdamien","html_url":"https://github.com/aymericdamien","followers_url":"https://api.github.com/users/aymericdamien/followers","following_url":"https://api.github.com/users/aymericdamien/following{/other_user}","gists_url":"https://api.github.com/users/aymericdamien/gists{/gist_id}","starred_url":"https://api.github.com/users/aymericdamien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aymericdamien/subscriptions","organizations_url":"https://api.github.com/users/aymericdamien/orgs","repos_url":"https://api.github.com/users/aymericdamien/repos","events_url":"https://api.github.com/users/aymericdamien/events{/privacy}","received_events_url":"https://api.github.com/users/aymericdamien/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"mrry","id":192142,"avatar_url":"https://avatars.githubusercontent.com/u/192142?v=3","gravatar_id":"","url":"https://api.github.com/users/mrry","html_url":"https://github.com/mrry","followers_url":"https://api.github.com/users/mrry/followers","following_url":"https://api.github.com/users/mrry/following{/other_user}","gists_url":"https://api.github.com/users/mrry/gists{/gist_id}","starred_url":"https://api.github.com/users/mrry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrry/subscriptions","organizations_url":"https://api.github.com/users/mrry/orgs","repos_url":"https://api.github.com/users/mrry/repos","events_url":"https://api.github.com/users/mrry/events{/privacy}","received_events_url":"https://api.github.com/users/mrry/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-02-17T05:54:23Z","updated_at":"2016-02-17T23:26:45Z","closed_at":"2016-02-17T23:15:41Z","body":"In 0.7, there are different errors about Saver, first Warnings in serialization, such as moving averages, or dictionaries:\r\n\r\n```\r\nWARNING:tensorflow:Error encountered when serializing moving_average_variables.\r\nType is unsupported, or the types of the items don't match field type in CollectionDef.\r\nunbound method to_proto() must be called with Variable instance as first argument (got Tensor instance instead)\r\nWARNING:tensorflow:Error encountered when serializing summary_tags.\r\nType is unsupported, or the types of the items don't match field type in CollectionDef.\r\n'dict' object has no attribute 'name'\r\n```\r\n\r\nand then, it throws an OS Error:\r\n```\r\n  File \"/Users/aymeric/anaconda2/lib/python2.7/site-packages/tensorflow/python/training/saver.py\", line 970, in save\r\n    self.export_meta_graph(meta_graph_file_name)\r\n  File \"/Users/aymeric/anaconda2/lib/python2.7/site-packages/tensorflow/python/training/saver.py\", line 990, in export_meta_graph\r\n    as_text=as_text)\r\n  File \"/Users/aymeric/anaconda2/lib/python2.7/site-packages/tensorflow/python/training/saver.py\", line 1315, in export_meta_graph\r\n    os.path.basename(filename), as_text=as_text)\r\n  File \"/Users/aymeric/anaconda2/lib/python2.7/site-packages/tensorflow/python/training/training_util.py\", line 70, in write_graph\r\n    gfile.MakeDirs(logdir)\r\n  File \"/Users/aymeric/anaconda2/lib/python2.7/site-packages/tensorflow/python/platform/default/_gfile.py\", line 295, in MakeDirs\r\n    os.makedirs(path, mode)\r\n  File \"/Users/aymeric/anaconda2/lib/python2.7/os.py\", line 157, in makedirs\r\n    mkdir(name, mode)\r\nOSError: [Errno 2] No such file or directory: ''\r\n```\r\n\r\nBut this is working well in 0.6.0, so Saver might have some issues in 0.7.0"},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/185458129","html_url":"https://github.com/tensorflow/tensorflow/issues/1135#issuecomment-185458129","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/1135","id":185458129,"user":{"login":"vrv","id":463737,"avatar_url":"https://avatars.githubusercontent.com/u/463737?v=3","gravatar_id":"","url":"https://api.github.com/users/vrv","html_url":"https://github.com/vrv","followers_url":"https://api.github.com/users/vrv/followers","following_url":"https://api.github.com/users/vrv/following{/other_user}","gists_url":"https://api.github.com/users/vrv/gists{/gist_id}","starred_url":"https://api.github.com/users/vrv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vrv/subscriptions","organizations_url":"https://api.github.com/users/vrv/orgs","repos_url":"https://api.github.com/users/vrv/repos","events_url":"https://api.github.com/users/vrv/events{/privacy}","received_events_url":"https://api.github.com/users/vrv/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T23:26:45Z","updated_at":"2016-02-17T23:26:45Z","body":"If someone can validate that the above commit fixes the problem with Saver, that would be appreciated! "}}