tensorflow_models_learning
tensorflow_models_learning copied to clipboard
tensorflow GoogleNet inception V1 V2 V3 V4
运行训练代码时报错如上,请问应该如何解决
Hello! I've found a performance issue in download_and_convert_cifar10.py: `with tf.Session('') as sess`[(here)](https://github.com/PanJinquan/tensorflow_models_learning/blob/e7a2773d526e01c76fc8366868099ca3d7a819b4/slim/datasets/download_and_convert_cifar10.py#L91) is defined in the function `_add_to_tfrecord`[(here)](https://github.com/PanJinquan/tensorflow_models_learning/blob/e7a2773d526e01c76fc8366868099ca3d7a819b4/slim/datasets/download_and_convert_cifar10.py#L64) which is repeatedly called in the loop `for i in range(_NUM_TRAIN_FILES)`[(here)](https://github.com/PanJinquan/tensorflow_models_learning/blob/e7a2773d526e01c76fc8366868099ca3d7a819b4/slim/datasets/download_and_convert_cifar10.py#L184). `tf.Session`...
如何修改输入节点
ckpt转pb的时候,因为所保存的ckpt文件使用batch方式训练,所以所转换的bp模型的最开始的两个节点为FIFOQueueV2和QueueDequeueManyV2, 如何把修改这个pb模型的输入节点呢,我想把输入改为input(image)这样。
2020-11-02 15:37:57.208234: Step [0] train Loss : 4.451777, training accuracy : 0.1875 2020-11-02 15:38:42.723464: Step [0] val Loss : 4.219480, val accuracy : 0.0174923 2020-11-02 15:38:55.136853: Step [100] train Loss...
Add a folder named record to confirm the creation of tfrecords can be implemented correctly.
老哥你好,我的tensorflow版本是GPU1.9,运行python inception_v3_train_val.py时,出现如下错误: import slim.nets.inception_v3 as inception_v3时报错No module named 'nets' 请问老哥怎么解决? @PanJinquan
哈喽,大佬你好 我看到slim,不知道是干啥的,我记得tf中有slim啊,不一回事?
老哥 这个代码怎么加可视化呢 我的邮箱是[email protected] 真心希望老哥能给个解决办法
您好,我運行程式的時候都會遇到這個報錯資訊 ERROR! Session/line number was not unique in database. History logging moved to new session 243 如果我重新啟動程式在運行的話最後數字的地方會累加 請問該如何解決,謝謝
修改代码直接调用会有bug 修改如下: with tf.contrib.slim.arg_scope(mobilenet_v2.training_scope()): out, endpoints = mobilenet_v2.mobilenet(input_tensor=input_images) BUG如下: Traceback (most recent call last): File "train_v2.py", line 213, in snapshot_prefix=snapshot_prefix) File "train_v2.py", line 158, in train tf.losses.softmax_cross_entropy(onehot_labels=input_labels, logits=out) File "/opt/conda/lib/python3.6/site-packages/tensorflow/python/ops/losses/losses_impl.py",...