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

AttributeError: dataset (ICVL-Hand) #20

Open
momo1986 opened this issue Apr 9, 2019 · 1 comment
Open

AttributeError: dataset (ICVL-Hand) #20

momo1986 opened this issue Apr 9, 2019 · 1 comment

Comments

@momo1986
Copy link

momo1986 commented Apr 9, 2019

When I run python data/icvl.py:
it reports the error:

Traceback (most recent call last):
File "data/icvl.py", line 271, in
run_preprocess()
File "data/icvl.py", line 215, in run_preprocess
preprocess_op=dataset.preprocess_op(128, 128))
File "/fast/junyan/HandPose/denseReg/data/dataset_base.py", line 199, in get_batch_op
result = preprocess_op(dm, pose, self.cfg)
File "data/icvl.py", line 154, in preprocess_op
dm, pose, cfg = crop_from_xyz_pose(dm, pose, cfg, input_width, input_height)
File "/fast/junyan/HandPose/denseReg/data/preprocess.py", line 64, in crop_from_xyz_pose
if FLAGS.dataset == 'icvl':
File "/root/anaconda3/lib/python3.6/site-packages/tensorflow/python/platform/flags.py", line 85, in getattr
return wrapped.getattr(name)
File "/root/anaconda3/lib/python3.6/site-packages/absl/flags/_flagvalues.py", line 472, in getattr
raise AttributeError(name)
AttributeError: dataset

I create the soft link in the exp/data/icvl.
The icvl data directory hierarchy looks like this:
**>Training

Depth(With many images in different directories)
labels.txt

Testing

Depth(With many images in different directories)
labels.txt**

I am not sure how can I resolve this problem.

@twkx
Copy link

twkx commented May 13, 2019

I have the exact same issue

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