Giter VIP home page Giter VIP logo

Comments (4)

Yishun99 avatar Yishun99 commented on September 3, 2024

I found some difference between code and paper:

  1. Missing Hidden layer
    • Paper:
      "We trained the model with the person instances which has more than 2 keypoints"
    • code:
           if ann['iscrowd'] == 0 and ann['num_keypoints'] > 4:
               anns.append(ann) # ann

from pose-residual-network.

ZhongXiaoFang avatar ZhongXiaoFang commented on September 3, 2024

Hi! when I retrain this code ,I placed the annotations in ./data/annotations. Could you tell me which path should the COCO images be placed? thank you very much @DouYishun

from pose-residual-network.

Yishun99 avatar Yishun99 commented on September 3, 2024

@ZhongXiaoFang Only annotation is needed, for both the input and output are heatmap.

from pose-residual-network.

ZhongXiaoFang avatar ZhongXiaoFang commented on September 3, 2024

Thank you for your reply. it means I just need to put the annotation files of COCO dataset in the path of ./data/annotations. and then run the command (python main.py) to train? I have installed all the requirements following the README.md. but meet this error when start training with command: python3 main.py .

loading annotations into memory...
Done (t=6.83s)
creating index...
index created!
loading annotations into memory...
Done (t=0.27s)
creating index...
index created!
Traceback (most recent call last):
File "main.py", line 45, in
main(option)
File "main.py", line 24, in main
model = PRN_Seperate(option.coeff28,option.coeff18, option.node_count)
File "/home/zhong/pose-residual-network-master/src/model.py", line 33, in PRN_Seperate
o = Activation('softmax')(o)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/base_layer.py", line 457, in call
output = self.call(inputs, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/keras/layers/core.py", line 299, in call
return self.activation(inputs)
File "/usr/local/lib/python3.5/dist-packages/keras/activations.py", line 31, in softmax
return K.softmax(x)
File "/usr/local/lib/python3.5/dist-packages/keras/backend/tensorflow_backend.py", line 3231, in softmax
return tf.nn.softmax(x, axis=axis)
TypeError: softmax() got an unexpected keyword argument 'axis'
@DouYishun

from pose-residual-network.

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.