-
Notifications
You must be signed in to change notification settings - Fork 93
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
训练速度过慢 #83
Comments
没用上gpu吧,cfgs上需要设置一下 |
非常感谢您的解答! ---------------------------------------- System_configROOT_PATH = os.path.abspath('../') SUMMARY_PATH = ROOT_PATH + '/output/summary' if NET_NAME.startswith("resnet"): PRETRAINED_CKPT = ROOT_PATH + '/data/pretrained_weights/' + weights_name + '.ckpt' EVALUATE_DIR = ROOT_PATH + '/output/evaluate_result_pickle/'/home/xianyun/cbw/RetinaNet_Tensorflow_Rotation-master/tools/test_dotaEVALUATE_DIR = ROOT_PATH + '/tools/test_dota/' |
那可能安装的是cpu版本的tensorflow,应该安装tensorflow-gpu。你check一下gpu有没有被调用以及tensorflow的版本。 |
好的!我检查一下!非常感谢!!! |
确实是因为我安装的cpu版本的tf!这个问题已经解决了。非常感谢您的解答! 2021-06-28 15:16:43.519534: W tensorflow/core/framework/op_kernel.cc:1389] Unknown: IndexError: index -9223372036853286991 is out of bounds for axis 0 with size 1681218 File "/home/xianyun/anaconda3/envs/rretinanet/lib/python3.5/site-packages/tensorflow/python/ops/script_ops.py", line 207, in call File "../libs/detection_oprations/anchor_target_layer_without_boxweight.py", line 38, in anchor_target_layer IndexError: index -9223372036853286991 is out of bounds for axis 0 with size 1681218 2021-06-28 15:16:43.684349: W tensorflow/core/kernels/queue_base.cc:277] _0_get_batch/input_producer: Skipping cancelled enqueue attempt with queue not closed File "/home/xianyun/anaconda3/envs/rretinanet/lib/python3.5/site-packages/tensorflow/python/ops/script_ops.py", line 207, in call File "../libs/detection_oprations/anchor_target_layer_without_boxweight.py", line 38, in anchor_target_layer IndexError: index -9223372036853286991 is out of bounds for axis 0 with size 1681218
During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/xianyun/anaconda3/envs/rretinanet/lib/python3.5/site-packages/tensorflow/python/ops/script_ops.py", line 207, in call File "../libs/detection_oprations/anchor_target_layer_without_boxweight.py", line 38, in anchor_target_layer IndexError: index -9223372036853286991 is out of bounds for axis 0 with size 1681218
Caused by op 'tower_1/build_loss/PyFunc', defined at: UnknownError (see above for traceback): IndexError: index -9223372036853286991 is out of bounds for axis 0 with size 1681218 File "/home/xianyun/anaconda3/envs/rretinanet/lib/python3.5/site-packages/tensorflow/python/ops/script_ops.py", line 207, in call File "../libs/detection_oprations/anchor_target_layer_without_boxweight.py", line 38, in anchor_target_layer IndexError: index -9223372036853286991 is out of bounds for axis 0 with size 1681218
想问问您见过这个错误吗?您知道有什么解决的办法吗? |
求助求助!
您好,我使用的裁剪为800×800的DOTA数据集,ResNet50,按照您的教程一步步做的,环境的配置也没有什么问题,但是训练速度大概在2.8秒一张图。这个速度是不是有一些太慢了?想问问各位大佬知道有可能是什么原因吗?
谢谢!!!
The text was updated successfully, but these errors were encountered: