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

train not working #11

Open
priyanka-chaudhary opened this issue Jan 10, 2018 · 0 comments
Open

train not working #11

priyanka-chaudhary opened this issue Jan 10, 2018 · 0 comments

Comments

@priyanka-chaudhary
Copy link

Hi,
I was playing around with different image_width and height values for training and after even setting it back to 480 and 480 train functionality is not working anymore. I am getting the following error.

[10 Jan 2018 10h30m46s][INFO] Model weights loaded from vgg16.npy
[10 Jan 2018 10h30m46s][INFO] Added CONV-BLOCK-1+SIDE-1
[10 Jan 2018 10h30m46s][INFO] Added CONV-BLOCK-2+SIDE-2
[10 Jan 2018 10h30m46s][INFO] Added CONV-BLOCK-3+SIDE-3
[10 Jan 2018 10h30m46s][INFO] Added CONV-BLOCK-4+SIDE-4
[10 Jan 2018 10h30m46s][INFO] Added CONV-BLOCK-5+SIDE-5
[10 Jan 2018 10h30m46s][INFO] Added FUSE layer
[10 Jan 2018 10h30m46s][INFO] Build model finished: 0.1343s
[10 Jan 2018 10h30m46s][INFO] Done initializing VGG-16 model
[10 Jan 2018 10h30m47s][INFO] Training data set-up from /home/pchaudha/hed/hed-data/HED-BSDS/train_pair.lst
[10 Jan 2018 10h30m47s][INFO] Training samples 23040
[10 Jan 2018 10h30m47s][INFO] Validation samples 5760
[10 Jan 2018 10h30m47s][WARNING] Deep supervision application set to True
Traceback (most recent call last):
File "run-hed.py", line 64, in
main(args)
File "run-hed.py", line 38, in main
trainer.run(session)
File "/home/pchaudha/hed/hed/train.py", line 69, in run
run_metadata=run_metadata)
File "/home/pchaudha/.local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 895, in run
run_metadata_ptr)
File "/home/pchaudha/.local/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1093, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "/home/pchaudha/.local/lib/python2.7/site-packages/numpy/core/numeric.py", line 531, in asarray
return array(a, dtype, copy=False, order=order)
ValueError: setting an array element with a sequence.

Does anyone know why is this happening?
Thank you!

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

1 participant