Skip to content

Problem in running pre-trained model #22

Description

@snahar20

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions