Giter Club home page Giter Club logo

Comments (4)

DavideA avatar DavideA commented on June 3, 2024

Hi,

what optimizer are you using?
Secondly, I see you are printing the running loss (the sum of the loss of the batches so far). Are you sure the loss is actually increasing?

from novelty-detection.

AmmarKamoona avatar AmmarKamoona commented on June 3, 2024

Hi There,
I am using Adam optimizer with learning rate set to=0.001.
epochs is set to 30. the loss function decrease and then increase

the loss is= tensor(14281.7119, device='cuda:0', grad_fn=)
Computing scores for ShanghaiTech (video id = 01_019): 94it [06:52, 4.37s/it]
the loss is= tensor(14346.3477, device='cuda:0', grad_fn=)
Computing scores for ShanghaiTech (video id = 01_019): 95it [06:56, 4.38s/it]
the loss is= tensor(15669.5996, device='cuda:0', grad_fn=)
Computing scores for ShanghaiTech (video id = 01_019): 96it [07:00, 4.38s/it]
the loss is= tensor(15653.5596, device='cuda:0', grad_fn=)
Computing scores for ShanghaiTech (video id = 01_019): 97it [07:05, 4.38s/it]
the loss is= tensor(15492.5547, device='cuda:0', grad_fn=)
Computing scores for ShanghaiTech (video id = 01_019): 98it [07:09, 4.36s/it]
the loss is= tensor(16204.8232, device='cuda:0', grad_fn=)
Computing scores for ShanghaiTech (video id = 01_019): 99it [07:13, 4.37s/it]
the loss is= tensor(15876.1279, device='cuda:0', grad_fn=)
Computing scores for ShanghaiTech (video id = 01_019): 100it [07:18, 4.37s/it]
the loss is= tensor(16464.8418, device='cuda:0', grad_fn=)

from novelty-detection.

weibienao avatar weibienao commented on June 3, 2024

@AmmarKamoona HI, can you share the complete code for training in Shanghaitech dataset?
best wishes

from novelty-detection.

MStumpp avatar MStumpp commented on June 3, 2024

@AmmarKamoona Have you been successful with the training? We just started experimenting with the code.

from novelty-detection.

Related Issues (16)

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.