1414# See the License for the specific language governing permissions and
1515# limitations under the License.
1616
17- # mkdir -p weights/
17+ mkdir -p /model
1818cd /model
1919
2020# DOWNLOAD CHECKPOINTS
@@ -29,7 +29,7 @@ wget -N ${BASE_URL}/variables/variables.data-00000-of-00001 -P ${DEST_DIR}/varia
2929wget -N ${BASE_URL} /variables/variables.index -P ${DEST_DIR} /variables
3030
3131# # ====================== resnet-nhwc-2018-02-07 ====================== ##
32- BASE_URL=" https://storage.googleapis.com/cloud-tpu-artifacts/resnet/resnet-nhwc -2018-02-07"
32+ BASE_URL=" https://storage.googleapis.com/cloud-tpu-checkpoints/retinanet/resnet50-checkpoint -2018-02-07"
3333DEST_DIR=" resnet/resnet-nhwc-2018-02-07"
3434
3535wget -N ${BASE_URL} /checkpoint -P ${DEST_DIR}
@@ -38,12 +38,12 @@ wget -N ${BASE_URL}/model.ckpt-112603.index -P ${DEST_DIR}
3838wget -N ${BASE_URL} /model.ckpt-112603.meta -P ${DEST_DIR}
3939
4040# # ====================== resnet-nhwc-2018-10-14 ====================== ##
41- BASE_URL=" https://storage.googleapis.com/cloud-tpu-artifacts/resnet/resnet-nhwc-2018-10-14"
42- DEST_DIR=" resnet/resnet-nhwc-2018-10-14"
43-
44- wget -N ${BASE_URL} /model.ckpt-112602.data-00000-of-00001 -P ${DEST_DIR}
45- wget -N ${BASE_URL} /model.ckpt-112602.index -P ${DEST_DIR}
46- wget -N ${BASE_URL} /model.ckpt-112602.meta -P ${DEST_DIR}
41+ # BASE_URL="https://storage.googleapis.com/cloud-tpu-artifacts/resnet/resnet-nhwc-2018-10-14"
42+ # DEST_DIR="resnet/resnet-nhwc-2018-10-14"
43+ #
44+ # wget -N ${BASE_URL}/model.ckpt-112602.data-00000-of-00001 -P ${DEST_DIR}
45+ # wget -N ${BASE_URL}/model.ckpt-112602.index -P ${DEST_DIR}
46+ # wget -N ${BASE_URL}/model.ckpt-112602.meta -P ${DEST_DIR}
4747
4848# VERIFY CHECKPOINTS
4949echo " Verifying and Processing Checkpoints..."
@@ -64,8 +64,8 @@ python inspect_checkpoint.py --file_name=mask-rcnn/1555659850/ckpt/model.ckpt \
6464python inspect_checkpoint.py --file_name=resnet/resnet-nhwc-2018-02-07/model.ckpt-112603 \
6565 > resnet/resnet-nhwc-2018-02-07/tensors_and_shape.txt
6666
67- python inspect_checkpoint.py --file_name=resnet/resnet-nhwc-2018-10-14/model.ckpt-112602 \
68- > resnet/resnet-nhwc-2018-10-14/tensors_and_shape.txt
67+ # python inspect_checkpoint.py --file_name=resnet/resnet-nhwc-2018-10-14/model.ckpt-112602 \
68+ # > resnet/resnet-nhwc-2018-10-14/tensors_and_shape.txt
6969
7070python inspect_checkpoint.py --file_name=resnet/extracted_from_maskrcnn/resnet50.ckpt \
7171 > resnet/extracted_from_maskrcnn/tensors_and_shape.txt
0 commit comments