{"action":"created","issue":{"url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/164","labels_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/164/comments","events_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/164/events","html_url":"https://github.com/NVIDIA/DIGITS/issues/164","id":94490366,"number":164,"title":"Jetson TK1: create_db.py: OverflowError: Integer argument exceeds limit.","user":{"login":"coreyt","id":219899,"avatar_url":"https://avatars.githubusercontent.com/u/219899?v=3","gravatar_id":"","url":"https://api.github.com/users/coreyt","html_url":"https://github.com/coreyt","followers_url":"https://api.github.com/users/coreyt/followers","following_url":"https://api.github.com/users/coreyt/following{/other_user}","gists_url":"https://api.github.com/users/coreyt/gists{/gist_id}","starred_url":"https://api.github.com/users/coreyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreyt/subscriptions","organizations_url":"https://api.github.com/users/coreyt/orgs","repos_url":"https://api.github.com/users/coreyt/repos","events_url":"https://api.github.com/users/coreyt/events{/privacy}","received_events_url":"https://api.github.com/users/coreyt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-11T16:52:11Z","updated_at":"2015-07-13T14:55:23Z","closed_at":"2015-07-13T14:55:22Z","body":"I am working on getting DIGITS running on the Jetson TK1.\r\n\r\nI ran into a problem when creating the training and validation databases:\r\n```\r\n127.0.0.1 - - [2015-07-11 11:39:04] \"POST /datasets/images/classification HTTP/1.1\" 302 450 0.444721\r\n127.0.0.1 - - [2015-07-11 11:39:04] \"GET /datasets/20150711-113903-e21a HTTP/1.1\" 200 16142 0.263104\r\n2015-07-11 11:39:04 [20150711-113903-e21a] [DEBUG] Parse Folder (train/val) task started.\r\n2015-07-11 11:39:04 [20150711-113903-e21a] [INFO ] Parse Folder (train/val) task started.\r\n2015-07-11 11:39:09 [20150711-113903-e21a] [INFO ] Parse Folder (train/val) task completed.\r\n2015-07-11 11:39:09 [20150711-113903-e21a] [DEBUG] Create DB (train) task started.\r\n2015-07-11 11:39:09 [20150711-113903-e21a] [DEBUG] Create DB (val) task started.\r\n2015-07-11 11:39:09 [20150711-113903-e21a] [INFO ] Create DB (train) task started.\r\n2015-07-11 11:39:09 [20150711-113903-e21a] [INFO ] Create DB (val) task started.\r\n2015-07-11 11:39:11 [20150711-113903-e21a] [WARNING] Create DB (train) unrecognized output: Traceback (most recent call last):\r\n2015-07-11 11:39:11 [20150711-113903-e21a] [WARNING] Create DB (train) unrecognized output: File \"/home/ubuntu/DIGITS/tools/create_db.py\", line 539, in <module>\r\n2015-07-11 11:39:11 [20150711-113903-e21a] [WARNING] Create DB (train) unrecognized output: backend=args['backend'])\r\n2015-07-11 11:39:11 [20150711-113903-e21a] [WARNING] Create DB (train) unrecognized output: File \"/home/ubuntu/DIGITS/tools/create_db.py\", line 66, in __init__\r\n2015-07-11 11:39:11 [20150711-113903-e21a] [WARNING] Create DB (train) unrecognized output: max_dbs=0)\r\n2015-07-11 11:39:11 [20150711-113903-e21a] [WARNING] Create DB (train) unrecognized output: OverflowError: Integer argument exceeds limit.\r\n2015-07-11 11:39:11 [20150711-113903-e21a] [WARNING] Create DB (val) unrecognized output: Traceback (most recent call last):\r\n2015-07-11 11:39:11 [20150711-113903-e21a] [WARNING] Create DB (val) unrecognized output: File \"/home/ubuntu/DIGITS/tools/create_db.py\", line 539, in <module>\r\n2015-07-11 11:39:11 [20150711-113903-e21a] [WARNING] Create DB (val) unrecognized output: backend=args['backend'])\r\n2015-07-11 11:39:11 [20150711-113903-e21a] [WARNING] Create DB (val) unrecognized output: File \"/home/ubuntu/DIGITS/tools/create_db.py\", line 66, in __init__\r\n2015-07-11 11:39:11 [20150711-113903-e21a] [WARNING] Create DB (val) unrecognized output: max_dbs=0)\r\n2015-07-11 11:39:11 [20150711-113903-e21a] [WARNING] Create DB (val) unrecognized output: OverflowError: Integer argument exceeds limit.\r\n2015-07-11 11:39:11 [20150711-113903-e21a] [ERROR] Create DB (train) task failed with error code 1\r\n2015-07-11 11:39:11 [20150711-113903-e21a] [ERROR] Create DB (val) task failed with error code 1\r\n```\r\n\r\nThis is resolved by editing the file ```DIGITS/tools/create_db.py```:\r\n```\r\n            self.db = lmdb.open(self.output_path,\r\n                    map_size=2147483647, # 2^31-1. was: map_size=1000000000000,  ~1TB for 64-bit machines\r\n                    map_async=True,\r\n ```\r\n\r\nThis is not the only place where we run into magic number problems on the Jetson."},"comment":{"url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/comments/120956710","html_url":"https://github.com/NVIDIA/DIGITS/issues/164#issuecomment-120956710","issue_url":"https://api.github.com/repos/NVIDIA/DIGITS/issues/164","id":120956710,"user":{"login":"coreyt","id":219899,"avatar_url":"https://avatars.githubusercontent.com/u/219899?v=3","gravatar_id":"","url":"https://api.github.com/users/coreyt","html_url":"https://github.com/coreyt","followers_url":"https://api.github.com/users/coreyt/followers","following_url":"https://api.github.com/users/coreyt/following{/other_user}","gists_url":"https://api.github.com/users/coreyt/gists{/gist_id}","starred_url":"https://api.github.com/users/coreyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreyt/subscriptions","organizations_url":"https://api.github.com/users/coreyt/orgs","repos_url":"https://api.github.com/users/coreyt/repos","events_url":"https://api.github.com/users/coreyt/events{/privacy}","received_events_url":"https://api.github.com/users/coreyt/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T14:55:22Z","updated_at":"2015-07-13T14:55:22Z","body":"Since the solution is in the issue, closing.  Hopefully others will be able to search and find the answer here!"}}