GithubHelp home page GithubHelp logo

deep-neural-networks-for-video-classification's People

Contributors

alxcnwy avatar iandurbach 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deep-neural-networks-for-video-classification's Issues

'val_acc' not available while running 'train_single_model.ipynb'

2020-11-11 18:45:17,086 [MainThread  ] [WARNI]  Can save best model only with val_acc available, skipping.
2020-11-11 18:45:17,296 [MainThread  ] [WARNI]  Early stopping conditioned on metric `val_acc` which is not available. Available metrics are: loss,accuracy,val_loss,val_accuracy
2020-11-11 18:45:17,297 [MainThread  ] [WARNI]  Can save best model only with val_acc available, skipping.
H1 {'loss': [1.3797682523727417, 0.6599361300468445, 0.6564924120903015, 0.5561164021492004, 0.4747893810272217, 0.3267454504966736, 0.3100120425224304, 0.1791907399892807, 0.29043635725975037, 0.1876538246870041, 0.1521572321653366, 0.22007215023040771, 0.06935647875070572, 0.09439448267221451, 0.20947016775608063, 0.27807852625846863, 0.15932726860046387, 0.11780016869306564, 0.09338890016078949, 0.13629283010959625], 'accuracy': [0.5182186365127563, 0.6396760940551758, 0.6518218517303467, 0.71659916639328, 0.7773279547691345, 0.8663967847824097, 0.8704453706741333, 0.931174099445343, 0.8866396546363831, 0.9271255135536194, 0.9392712712287903, 0.898785412311554, 0.9797570705413818, 0.9554656147956848, 0.9271255135536194, 0.8866396546363831, 0.9433198571205139, 0.9433198571205139, 0.9554656147956848, 0.9473684430122375], 'val_loss': [0.9056219458580017, 0.8241466879844666, 0.7785531282424927, 0.5593583583831787, 0.7367925047874451, 0.8970717191696167, 0.5637212991714478, 0.6786322593688965, 0.9303268790245056, 0.7068821787834167, 1.7561753988265991, 1.0093439817428589, 0.7377994060516357, 0.8516809344291687, 0.9103375673294067, 0.982994794845581, 1.294120192527771, 1.17690110206604, 0.7544564008712769, 0.7987895607948303], 'val_accuracy': [0.5032258033752441, 0.5032258033752441, 0.5032258033752441, 0.7096773982048035, 0.6516128778457642, 0.6903225779533386, 0.7225806713104248, 0.7096773982048035, 0.6838709712028503, 0.7612903118133545, 0.6709677577018738, 0.7225806713104248, 0.7870967984199524, 0.7806451320648193, 0.6193548440933228, 0.7225806713104248, 0.7032257914543152, 0.7483870983123779, 0.7870967984199524, 0.7354838848114014]}
stopped_epoch1 19
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-10-eae6ea118bfc> in <module>
     15                             verbose=True)
     16 
---> 17 architecture.train_model()
     18 
     19 gc.collect()

D:\***\Deep-Neural-Networks-for-Video-Classification\deepvideoclassification\architectures.py in train_model(self, epochs, patience)
    928         print('H1', history1.history)
    929         print('stopped_epoch1',stopped_epoch1)
--> 930         print(len(history1.history['val_acc']))
    931         print(history1.history['val_acc'][stopped_epoch1])
    932 

KeyError: 'val_acc'

Model setup

Hi, just a quick question.

I have downloaded your repo, nice job.
If I run the code as it is now it's set for task 1: "Detect animals in camera trap videos"
How do you set up the model to classify animal actions instead of doing "seal" vs "no seal" classifications?

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.