Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems occur when run python run_dense_net_3d.py #20

Open
daichenchao opened this issue Sep 16, 2018 · 0 comments
Open

problems occur when run python run_dense_net_3d.py #20

daichenchao opened this issue Sep 16, 2018 · 0 comments

Comments

@daichenchao
Copy link

python run_dense_net_3d.py --train -ds /home/user/jiangsudaxuematch/daima/UCF101
when I run this instruction , wrongs occur . wrong list in log.txt
Params:
weight_decay: 0.0001
bc_mode: False
should_save_logs: True
keep_prob: 1.0
gpu_id: 0
reduction: 1.0
dataset: /home/user/jiangsudaxuematch/daima/UCF101
model_type: DenseNet3D
depth: 20
train: True
should_save_model: True
test: False
renew_logs: False
total_blocks: 3
nesterov_momentum: 0.9
growth_rate: 12
Train params:
batch_size: 10
n_epochs: 70
queue_size: 300
reduce_lr_epoch_2: 55
sequence_length: 16
validation_set: True
num_classes: 5
crop_size: (150, 100)
reduce_lr_epoch_1: 30
initial_learning_rate: 0.1
validation_split: None
normalization: std
Start thread: train data preparation ...
Start thread: validation data preparation ...
Initialize the model..
Build DenseNet3D model with 3 blocks, 5 composite layers each.
Reduction at transition layers: 1.0

Traceback (most recent call last):
File "run_dense_net_3d.py", line 157, in
model = DenseNet3D(data_provider=data_provider, **model_params)
File "/home/user/jiangsudaxuematch/daima/models/dense_net_3d.py", line 88, in init
self._initialize_session()
File "/home/user/jiangsudaxuematch/daima/models/dense_net_3d.py", line 107, in _initialize_session
self.saver = tf.train.Saver(tf.global_variables(), max_to_keep=0)
File "/home/user/.local/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1051, in init
self.build()
File "/home/user/.local/lib/python2.7/site-packages/tensorflow/python/training/saver.py", line 1072, in build
raise ValueError("No variables to save")
ValueError: No variables to save.

How can I solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant