Git Product home page Git Product logo

Comments (1)

Secondgrade avatar Secondgrade commented on May 27, 2024

Hi,I'm new to learn Deep Learning.Some problems occured to me while traing.Can anybody tell me the reason or some ideas.Thanks a lot!!!!!!!!
I can run the demo_image.py successfully,so I want to continue to train the model by COCO dataset.
When i run train_pose.py,the command window will show 'Epoch1/20000' then no response.Above it,it shows an error:"AttributeError: 'AugImgMetadata' object has no attribute 'shape'"
I have no idea about it .The following is my error log.
If anyone has some ideas,please tell me !thx!
By the way.I'm Windows10+cuda8.0+cudnn6.0.21+tensorflow-gpu 1.3.0+keras2.0.7

ERROR LOG:

[0502 17:12:41 @parallel.py:207] WRN MultiProcessRunner does support Windows. However, Windows requires more strict picklability on processes, which may lead of failure on some of the code.
Using TensorFlow backend.
[0502 17:13:09 @develop.py:109] WRN [Deprecated] augment_return_params [:1] will be deprecated after 06 Jun. Please use get_transform instead!
[0502 17:13:09 @argtools.py:138] WRN The old augmentor interface was deprecated. Please implement ScaleAug with get_transform instead!
Process _Worker-1:
Traceback (most recent call last):
File "e:\anaconda3\envs\tfpose\lib\multiprocessing\process.py", line 249, in _bootstrap
self.run()
File "e:\anaconda3\envs\tfpose\lib\site-packages\tensorpack\dataflow\parallel.py", line 192, in run
for dp in self.ds:
File "e:\anaconda3\envs\tfpose\lib\site-packages\tensorpack\dataflow\common.py", line 314, in iter
for dp in self.ds:
File "e:\anaconda3\envs\tfpose\lib\site-packages\tensorpack\dataflow\common.py", line 314, in iter
for dp in self.ds:
File "e:\anaconda3\envs\tfpose\lib\site-packages\tensorpack\dataflow\common.py", line 315, in iter
ret = self.func(copy(dp)) # shallow copy the list
File "..\training\dataset.py", line 100, in augment
scale=meta.scale))
File "e:\anaconda3\envs\tfpose\lib\site-packages\tensorpack\utils\develop.py", line 144, in new_func
return func(*args, **kwargs)
File "e:\anaconda3\envs\tfpose\lib\site-packages\tensorpack\dataflow\imgaug\base.py", line 208, in augment_return_params
return t.apply_image(d), t
File "e:\anaconda3\envs\tfpose\lib\site-packages\tensorpack\dataflow\imgaug\transform.py", line 119, in apply_image
assert img.shape[:2] == (self.h, self.w)
AttributeError: 'AugImgMetadata' object has no attribute 'shape'
Epoch 1/2

Hi,I'm using this project and get the same error. Have you solve this problem? I am developing my project on MAC. And I paste the errorReport at the bottom.
assert img.shape[:2] == (self.h, self.w)
AttributeError: 'AugImgMetadata' object has no attribute 'shape'

from keras_realtime_multi-person_pose_estimation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.