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

Problem in running pre-trained model #22

Open
snahar20 opened this issue Jun 28, 2018 · 1 comment
Open

Problem in running pre-trained model #22

snahar20 opened this issue Jun 28, 2018 · 1 comment

Comments

@snahar20
Copy link

When i run the pre-trained model using the inference command, the script gets stuck at the last line of the following log :

INFO:tensorflow:number of input files: 13
INFO:tensorflow:loading meta-graph: F:/project_27_06_2018/yt8m/v2/models/video/sample_model/model.ckpt-310001.meta
WARNING:tensorflow:The saved meta_graph is possibly from an older release:
'local_variables' collection should be of type 'byte_list', but instead is of type 'node_list'.
WARNING:tensorflow:The saved meta_graph is possibly from an older release:
'model_variables' collection should be of type 'byte_list', but instead is of type 'node_list'.
INFO:tensorflow:restoring variables from F:/project_27_06_2018/yt8m/v2/models/video/sample_model/model.ckpt-310001
INFO:tensorflow:Restoring parameters from F:/project_27_06_2018/yt8m/v2/models/video/sample_model/model.ckpt-310001

I use the following command to run the inference script :

runfile('F:/project_27_06_2018/yt8m/code/inference.py', args='--output_file="F:/project_27_06_2018/yt8m/output/test-lstm-0002-val-150-random.csv" --input_data_pattern="F:/project_27_06_2018/yt8m/v2/video/validate*.tfrecord" --model="F:/project_27_06_2018/yt8m/v2/models/video/sample_model/model.ckpt-310001.data-00000-of-00001" --train_dir="F:/project_27_06_2018/yt8m/v2/models/video/sample_model/" --frame_features=False --feature_names="rgb,audio" --feature_sizes="1024,128" --batch_size=1024 --base_learning_rate=0.0002 --iterations=150 --lstm_random_sequence=True --run_once=True --top_k=50', wdir='F:/project_27_06_2018/yt8m/code')

What am I doing wrong?

@trialbox
Copy link

i have same problem. I guess something error in ''local_variables' collection should be of type 'byte_list', but instead is of type 'node_list' .

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

2 participants