Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Rita Zhang ritazh

🎯
Focusing
Block or report user

Report or block ritazh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View classifier_from_little_data_script_1.py
'''This script goes along the blog post
"Building powerful image classification models using very little data"
from blog.keras.io.
It uses data that can be downloaded at:
https://www.kaggle.com/c/dogs-vs-cats/data
In our setup, we:
- created a data/ folder
- created train/ and validation/ subfolders inside data/
- created cats/ and dogs/ subfolders inside train/ and validation/
- put the cat pictures index 0-999 in data/train/cats
View docker-gpu-howto.md

1. Create k8s cluster

  • Use my fork of ACS-Engine on the k8s-gpu-flag branch
  • Launch and build ACS-Engine, and customize the kubernetes example template to have NC6 VMs (example
  • Create RG: az group create --name k8s --location southcentralus (or other region with GPU)
  • Deploy the generated template az group deployment create --ressource-group k8s --template-file azuredeploy.json --parameters @azuredeploy.pamareters.json

2. Install drivers

View gsonerror
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
Configuring TestNG with: TestNG652Configurator
Starting test testAllContains(org.jclouds.azurecompute.arm.AzureComputeProviderMetadataTest)
Starting test testWithId(org.jclouds.azurecompute.arm.AzureComputeProviderMetadataTest)
Starting test testOfApiContains(org.jclouds.azurecompute.arm.AzureComputeProviderMetadataTest)
Starting test testTransformableToContains(org.jclouds.azurecompute.arm.AzureComputeProviderMetadataTest)
[pool-1-thread-1] Test testAllContains(org.jclouds.azurecompute.arm.AzureComputeProviderMetadataTest) succeeded: 10ms
View TemplateToDeploymentTemplateLiveTest.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
View DeploymentTemplateBuilder.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
View DeploymentTemplate.java
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
You can’t perform that action at this time.