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 on my own dataset , got an error: assert batch_size <= ds.size() #141

Open
zhaoleo1111 opened this issue Aug 13, 2020 · 0 comments
Open

Comments

@zhaoleo1111
Copy link

loading annotations into memory...
Done (t=0.00s)
creating index...
index created!
loading annotations into memory...
Done (t=0.00s)
creating index...
index created!
Loading dataset /content/keras_Realtime_Multi-Person_Pose_Estimation/dataset/train ...
Loading image annot 0/12
Loading dataset /content/keras_Realtime_Multi-Person_Pose_Estimation/dataset/val ...
Loading image annot 0/2
Traceback (most recent call last):
File "train_pose.py", line 208, in
batch_df = batch_dataflow(df, batch_size)
File "/content/keras_Realtime_Multi-Person_Pose_Estimation/training/dataset.py", line 212, in batch_dataflow
df = BatchData(df, batch_size, use_list=True)
File "/usr/local/lib/python3.6/dist-packages/tensorpack/dataflow/common.py", line 95, in init
assert batch

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