Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- expire_logs_days
- npm
- 퀵소트
- log_bin
- spring
- Chunk
- eslint
- update
- spring cloud
- 정규표현식
- migration
- Effective Java
- git
- regex
- current_date
- log4j2
- Express
- mysql 5.5
- Webpack
- REACTJS
- nodejs
- MySQL
- JavaScript
- upgrade
- Node
- Spring Batch
- Regular expression
- REACT
- java
- Effective Java 3/e
Archives
- Today
- Total
내 세상
[Tensorflow] resnet50 config file error 해결 방법 본문
728x90
에러
ValueError: No variables to save
https://github.com/tensorflow/models/tree/master/research/object_detection
위 경로의 Tensorflow object detection api를 테스트해볼 때, 모든 전반부 과정 후 train.py 실행시킨 다음 뜨는 에러.
ssd_mobilenet_v1_coco를 모델로 사용할 때는 발생하지 않았으나, ssd_resnet_50_fpn_coco를 모델로 사용할 때 발생함.
해결 방법
pipeline.config 파일 내에 소스 코드 한 줄 추가하여 해결할 수 있음.
아래에 위치에 빨간색으로 표시된 라인을 넣어서 해결하세요
train_config: {
batch_size: 24
optimizer {
rms_prop_optimizer: {
learning_rate: {
exponential_decay_learning_rate {
initial_learning_rate: 0.004
decay_steps: 800720
decay_factor: 0.95
}
}
momentum_optimizer_value: 0.9
decay: 0.9
epsilon: 1.0
}
}
fine_tune_checkpoint: "pre-trained-model/model.ckpt"
from_detection_checkpoint: true
# Note: The below line limits the training process to 200K steps, which we
# empirically found to be sufficient enough to train the pets dataset. This
# effectively bypasses the learning rate schedule (the learning rate will
# never decay). Remove the below line to train indefinitely.
num_steps: 200000
data_augmentation_options {
random_horizontal_flip {
}
}
data_augmentation_options {
ssd_random_crop {
}
}
}
안녕~
728x90
'Technical > ML&DL' 카테고리의 다른 글
[Deep Learning] Precision과 Recall, Detection의 정확도(accuracy) (0) | 2019.02.15 |
---|---|
[Deep Learning] EAST text detector (0) | 2019.02.15 |
케라스 창시자에게 배우는 딥러닝 > 2장 신경망의 수학적 구성 요소 (0) | 2019.02.08 |
케라스 창시자에게 배우는 딥러닝 > 8장 생성 모델을 위한 딥러닝 (0) | 2018.12.14 |