microsoft / AutonomousDrivingCookbook

Scenarios, tutorials and demos for Autonomous Driving
MIT License
2.32k stars 566 forks source link

az batch pool create: error: 'NoneType' object has no attribute 'startswith' #100

Closed wonjoonSeol closed 5 years ago

wonjoonSeol commented 5 years ago

Problem description

Unable to create Pool using the command az batch pool create --json-file pool.json

Problem details

Trying out distributed training. Currently setting up clusters. Can see creating cluster notebook has some typos - I have fixed multiple minor errors (will create pull requests once I successfully do everything) and carrying on creating the pool now.

Upgraded my Azure subscription to pay-as-go from free-trial to allow vCpu 6 for NV6. I have tried to create pool manually on Azure portal, but their interface is very unfriendly. I am unable to add Airsim VM image link address from storage account (there is no link button) so I'll have to fix this command.

error

End up with this error : (Last part in the jupyter notebook) az batch pool create: error: 'NoneType' object has no attribute 'startswith'

json file generated: tempsnip

Experiment/Environment details

wonjoonSeol commented 5 years ago

ps. If you have time, can you kindly have a look at issue 85: https://github.com/Microsoft/AutonomousDrivingCookbook/issues/85

Major problem I have with E2E deeplearning is I am not able to connect to Airsim client. So I cannot test the model on landscape environment.

wonjoonSeol commented 5 years ago

I just noticed I am getting the same error with other batch pool commands:

C:\Users\>az batch pool list --subscription abcd
usage: az batch pool list [-h] [--verbose] [--debug]
                          [--output {json,jsonc,table,tsv,yaml,none}]
                          [--query JMESPATH] [--filter FILTER]
                          [--select SELECT] [--expand EXPAND]
                          [--account-name ACCOUNT_NAME]
                          [--account-key ACCOUNT_KEY]
                          [--account-endpoint ACCOUNT_ENDPOINT]
                          [--subscription _SUBSCRIPTION]
az batch pool list: error: 'NoneType' object has no attribute 'startswith'

Seems like bug from az batch pool not the json, closing the issue here. I used Batch Explorer to manually create the pool using the similar setting.