Code Monkey home page Code Monkey logo

Comments (12)

asanakoy avatar asanakoy commented on June 30, 2024

@adwin5 Hi,
You should train for at least 300k-400k iterations. 20k iteration is not enough.
Check PCP score and compare with the table I provided to be able to see if you converged or not.

from deeppose_tf.

staywithme23 avatar staywithme23 commented on June 30, 2024

@asanakoy Thank you so much.
Let me try longer training.

from deeppose_tf.

staywithme23 avatar staywithme23 commented on June 30, 2024

@asanakoy
1, can you refer me where to see PCP score you provided?
2, I am using train_lsp_alexnet_scratch.sh, is that also around 300K?
Thanks in advance

from deeppose_tf.

asanakoy avatar asanakoy commented on June 30, 2024

@adwin5 Ah, sorry, I haven't added them yet :) You should get PCP score something around 55-56% if you train starting with imagenet initialization.
I'm planning to add tables with our results and upload models next week.

from deeppose_tf.

staywithme23 avatar staywithme23 commented on June 30, 2024

@asanakoy
Thank you. I appreciate a lot.
Below is an example output. I think you are saying the "val/mPCP" value, right?
Now is 0.027. and I expect it to achieve 55%? or what is the expected PCP score that means converge.
//
Step 4500 val/mPCP 0.027
Step 4500 val/parts_PCP:
Head Torso U Arm L Arm U Leg L Leg mean
0.002 0.132 0.009 0.005 0.012 0.002 0.027
//

from deeppose_tf.

asanakoy avatar asanakoy commented on June 30, 2024

@adwin5 , usually you monitor the loss and it converged when the loss cease decreasing. In case of LSP and Alexnet model loss will decrease at least to the value 0.03
In my implementation val/ is just a subset of train, I did it for sanity check only. val/mPCP should be quit high though (not less than 70%).
To get a test PCP score see output:
Step N test/mPCP VAL

from deeppose_tf.

staywithme23 avatar staywithme23 commented on June 30, 2024

@asanakoy Got it.
I think training from scratch is way too slow than from imagenet.
However, after setting the path to pre-trained alexnet and execute train_lsp_alexnet_imagenet.sh
I got the error in below.
Not sure why I can't open /home/adwin/Project/deeppose_tf/weights/bvlc_alexnet.tf
//
DataLossError (see above for traceback): Unable to open table file /home/adwin/Project/deeppose_tf/weights/bvlc_alexnet.tf: Data loss: file is too short to be an sstable: perhaps your file is in a different file format and you need to use a different restore operator?
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
[[Node: save/RestoreV2_2/_25 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_110_save/RestoreV2_2", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/gpu:0"]]

from deeppose_tf.

staywithme23 avatar staywithme23 commented on June 30, 2024

@asanakoy
I debug it. The reason for DataLossError is my bvlc_alexnet.tf file is corrupted

from deeppose_tf.

staywithme23 avatar staywithme23 commented on June 30, 2024

Now training makes sense. Thx.

from deeppose_tf.

asanakoy avatar asanakoy commented on June 30, 2024

@adwin5 You can check tables with the results in the Readme.md

from deeppose_tf.

dupsys avatar dupsys commented on June 30, 2024

Hi a

dwin,

Good day, please will you be able to help with regards to the attached code. I got an

Error when checking model input: expected input_1 to have 2 dimensions, but got array with shape (307551, 180, 68)

I am new in keras and I have tried my best to get help online but I got your email from GitHub. I'm trying to implement Tweet2Vec, where it can be used for feature extraction as the author describe it.

Best Regards

from deeppose_tf.

dupsys avatar dupsys commented on June 30, 2024

Hi adwin5
codesegment.txt

Good day, please will you be able to help with regards to the attached code. I got an

Error when checking model input: expected input_1 to have 2 dimensions, but got array with shape (307551, 180, 68)

I am new in keras and I have tried my best to get help online but I got your email from GitHub. I'm trying to implement Tweet2Vec, where it can be used for feature extraction as the author describe it.

Best Regards

from deeppose_tf.

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.