We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I know very little about tensorflow.
I use this code...from the Internet... and try to load the pretrained model W30.
import tensorflow as tf from net.model import HRNet import horovod.tensorflow as hvd def load_model(meta, checkpoint_dir): with tf.Session() as sess: saver = tf.train.import_meta_graph(meta) saver.restore(sess, tf.train.latest_checkpoint(checkpoint_dir)) # graph = tf.get_default_graph() # fc = graph.get_tensor_by_name('final_dense') # print(fc.shape) if __name__ == "__main__": load_model('model/model.ckpt-1000000.meta', 'model')
I got an error
I add import horovod.tensorflow as hvd because I met a KeyError 'HorovodAllreduce'
import horovod.tensorflow as hvd
horovod/horovod#594
What should I do? Thanks for your reply.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I know very little about tensorflow.
I use this code...from the Internet... and try to load the pretrained model W30.
I got an error
I add
import horovod.tensorflow as hvd
because I met a KeyError 'HorovodAllreduce'horovod/horovod#594
What should I do? Thanks for your reply.
The text was updated successfully, but these errors were encountered: