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

which human_detection.json to use? #69

Open
AkshayMalavade opened this issue Jan 28, 2021 · 2 comments
Open

which human_detection.json to use? #69

AkshayMalavade opened this issue Jan 28, 2021 · 2 comments

Comments

@AkshayMalavade
Copy link

can you please tell me which file to use from the drive? there are two files human_detection_test-dev2017 and human_detection_val2017 , which of these two files should I place it in data/coco/dets. Also do you recommend to use colab to train this model or use a high end pc?

@mks0601
Copy link
Owner

mks0601 commented Jan 28, 2021

human_detection_test-dev2017: test result on test-dev set.
human_detection_val2017: test result on validation set.

@AkshayMalavade
Copy link
Author

AkshayMalavade commented Jan 30, 2021

error
it shows me this and stops when I run python train.py in colab. should I pass anyarguments?

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:528: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:529: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:530: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:535: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
>>> Using /gpu:0,1
WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
2021-01-30 08:02:52.490299: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2021-01-30 08:02:52.493555: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2199995000 Hz
2021-01-30 08:02:52.493746: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x2410000 executing computations on platform Host. Devices:
2021-01-30 08:02:52.493776: I tensorflow/compiler/xla/service/service.cc:158]   StreamExecutor device (0): <undefined>, <undefined>
01-30 08:02:52 Generating training graph on 2 GPUs ...
WARNING:tensorflow:From /content/drive/My Drive/${POSE_ROOT}/main/model.py:49: to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.
01-30 08:02:54 WRN: BN is calculated only on single GPU.
loading annotations into memory...
Done (t=6.90s)
creating index...
index created!
Start data provider ipc://@dataflow-map-pipe-9c03f864-b'0'
Start data provider ipc://@dataflow-map-pipe-9c03f864-b'1'
Start data provider ipc://@dataflow-map-pipe-9c03f864-b'2'
Start data provider ipc://@dataflow-map-pipe-9c03f864-b'3'
Start data provider ipc://@dataflow-map-pipe-9c03f864-b'4'
Start data provider ipc://@dataflow-map-pipe-9c03f864-b'5'
Start data provider ipc://@dataflow-map-pipe-9c03f864-b'6'
Start data provider ipc://@dataflow-map-pipe-9c03f864-b'7'
Start data provider ipc://@dataflow-map-pipe-9c03f864-b'8'
Start data provider ipc://@dataflow-map-pipe-9c03f864-b'9'
cannot read ../data/COCO/images/train2017/000000374342.jpg
Process _Worker-8:
cannot read ../data/COCO/images/train2017/000000382625.jpg
Process _Worker-9:
cannot read ../data/COCO/images/train2017/000000246265.jpg
Process _Worker-10:
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/content/drive/My Drive/${POSE_ROOT}/main/../lib/tfflat/data_provider.py", line 207, in run
    dp = self.map_func(dp)
  File "/content/drive/My Drive/${POSE_ROOT}/main/gen_batch.py", line 70, in generate_batch
    assert 0
AssertionError
Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/content/drive/My Drive/${POSE_ROOT}/main/../lib/tfflat/data_provider.py", line 207, in run
    dp = self.map_func(dp)
  File "/content/drive/My Drive/${POSE_ROOT}/main/../lib/tfflat/data_provider.py", line 207, in run
    dp = self.map_func(dp)
  File "/content/drive/My Drive/${POSE_ROOT}/main/gen_batch.py", line 70, in generate_batch
    assert 0
  File "/content/drive/My Drive/${POSE_ROOT}/main/gen_batch.py", line 70, in generate_batch
    assert 0
AssertionError
AssertionError
cannot read ../data/COCO/images/train2017/000000293386.jpg
Process _Worker-7:
cannot read ../data/COCO/images/train2017/000000014337.jpg
Process _Worker-1:
cannot read ../data/COCO/images/train2017/000000200416.jpg
Process _Worker-6:
cannot read ../data/COCO/images/train2017/000000244585.jpg
Process _Worker-2:
cannot read ../data/COCO/images/train2017/000000568623.jpg
Process _Worker-4:
cannot read ../data/COCO/images/train2017/000000114954.jpg
Process _Worker-5:
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/content/drive/My Drive/${POSE_ROOT}/main/../lib/tfflat/data_provider.py", line 207, in run
    dp = self.map_func(dp)
  File "/content/drive/My Drive/${POSE_ROOT}/main/gen_batch.py", line 70, in generate_batch
    assert 0
AssertionError
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/content/drive/My Drive/${POSE_ROOT}/main/../lib/tfflat/data_provider.py", line 207, in run
    dp = self.map_func(dp)
  File "/content/drive/My Drive/${POSE_ROOT}/main/gen_batch.py", line 70, in generate_batch
    assert 0
AssertionError
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/content/drive/My Drive/${POSE_ROOT}/main/../lib/tfflat/data_provider.py", line 207, in run
    dp = self.map_func(dp)
  File "/content/drive/My Drive/${POSE_ROOT}/main/gen_batch.py", line 70, in generate_batch
    assert 0
AssertionError
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/content/drive/My Drive/${POSE_ROOT}/main/../lib/tfflat/data_provider.py", line 207, in run
    dp = self.map_func(dp)
  File "/content/drive/My Drive/${POSE_ROOT}/main/gen_batch.py", line 70, in generate_batch
    assert 0
AssertionError
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/content/drive/My Drive/${POSE_ROOT}/main/../lib/tfflat/data_provider.py", line 207, in run
    dp = self.map_func(dp)
  File "/content/drive/My Drive/${POSE_ROOT}/main/gen_batch.py", line 70, in generate_batch
    assert 0
AssertionError
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/content/drive/My Drive/${POSE_ROOT}/main/../lib/tfflat/data_provider.py", line 207, in run
    dp = self.map_func(dp)
  File "/content/drive/My Drive/${POSE_ROOT}/main/gen_batch.py", line 70, in generate_batch
    assert 0
AssertionError
01-30 08:03:17 Initialize saver ...
01-30 08:03:17 Initialize all variables ...
cannot read ../data/COCO/images/train2017/000000007050.jpg
Process _Worker-3:
Traceback (most recent call last):
  File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/content/drive/My Drive/${POSE_ROOT}/main/../lib/tfflat/data_provider.py", line 207, in run
    dp = self.map_func(dp)
  File "/content/drive/My Drive/${POSE_ROOT}/main/gen_batch.py", line 70, in generate_batch
    assert 0
AssertionError
01-30 08:03:21 CRI: No snapshot model exists.
01-30 08:03:21 Start training ...

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