Code Monkey home page Code Monkey logo

detection-attributes-fields's People

Contributors

taylormordan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

detection-attributes-fields's Issues

loss become negative after 100 epochs

INFO:openpifpaf.network.trainer:{'type': 'train', 'epoch': 65, 'batch': 840, 'n_batches': 1266, 'time': 0.948, 'data_time': 0.0, 'lr': 0.0005, 'loss': -31.85, 'head_losses': [0.003, 0.097, 0.076, 0.111, 0.02, 0.25, 0.016, 0.027, 0.001, 0.0, 0.014, 0.015, 0.026, 0.019, 0.073, 0.021, 0.013, 0.004, 0.0, 0.039, 0.09, 0.088, 0.037, 0.006, 0.0, 0.003, 0.014, 0.003, 0.012, 0.011, 0.002, 0.002, 0.001, 0.002, 0.012], 'mtl_sigmas': [0.002, 0.301, 0.275, 0.367, 0.081, 0.518, 0.089, 0.171, 0.016, 0.0, 0.1, 0.092, 0.124, 0.122, 0.218, 0.046, 0.09, 0.027, 0.0, 0.176, 0.262, 0.26, 0.157, 0.037, 0.0, 0.003, 0.09, 0.003, 0.087, 0.065, 0.006, 0.01, 0.0, 0.002, 0.072]}

is this normal?

How to fix this error? Plz help

usage: python3 -m openpifpaf.train [options]
python3 -m openpifpaf.train: error: unrecognized arguments: --jaad-root-dir C:/Users/VR/Desktop/JAAD_clips.zip --jaad-subset default --jaad-training-set train --jaad-validation-set val --pifpaf-pretraining --detection-bias-prior 0.01 --jaad-head-upsample 2 --jaad-pedestrian-attributes all --fork-normalization-operation power --fork-normalization-duplicates 35 --attribute-regression-loss l1 --attribute-focal-gamma 2

I just gave the path to the output of the model and the data set this way.
Please take a look:

!python3 -m openpifpaf.train
--output C:/Users/VR/Desktop/model
--dataset jaad
--jaad-root-dir C:/Users/VR/Desktop/JAAD_clips.zip
--jaad-subset default
--jaad-training-set train
--jaad-validation-set val
--log-interval 10
--val-interval 1
--epochs 5
--batch-size 4
--lr 0.0005
--lr-warm-up-start-epoch -1
--weight-decay 5e-4
--momentum 0.95
--basenet fn-resnet50
--pifpaf-pretraining
--detection-bias-prior 0.01
--jaad-head-upsample 2
--jaad-pedestrian-attributes all
--fork-normalization-operation power
--fork-normalization-duplicates 35
--lambdas 7.0 7.0 7.0 7.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
--attribute-regression-loss l1
--attribute-focal-gamma 2
--auto-tune-mtl

Extenstion to other objects

@svenkreiss @taylormordan thanks for sharing the source code , can we extend this work for car detection with attributes along with person and its attributes , if so how can we do it ? we can annotated vehicle with bounding box and attributes can be brand , #wheels ,color . what all changes have to be made in the source code for extending the source code

Thanks in advance

Pretrained model

@taylormordan thanks for sharing the code base and the wonderful work is it possible to share the pretrained model to test the results ??
Thanks in advance

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.