print("Not enough cores of DSv2 in region, asking for {} but have {}".format(requested_cores, diff))
else:
print("There are enough cores, you may continue...")
Checking quota for family size DSv2...
/home/maxkaz/anaconda3/envs/batchscoringdl_aml/lib/python3.6/site-packages/dotenv/main.py:111: UserWarning: key REGION not found in /home/maxkaz/repos/Batch-Scoring-Deep-Learning-Models-With-AML/.env.
warnings.warn("key %s not found in %s." % (key, self.dotenv_path))
There is enough quota in eastus but I get the following error
print("Checking quota for family size DSv2...")
vm_family = "DSv2"
requested_cores = ffmpeg_node_count * vm_dict[vm_family]["cores"]
diff = check_quota(vm_family)
if diff <= requested_cores:
else:
Checking quota for family size DSv2...
/home/maxkaz/anaconda3/envs/batchscoringdl_aml/lib/python3.6/site-packages/dotenv/main.py:111: UserWarning: key REGION not found in /home/maxkaz/repos/Batch-Scoring-Deep-Learning-Models-With-AML/.env. warnings.warn("key %s not found in %s." % (key, self.dotenv_path))
TypeError Traceback (most recent call last)