Comments (4)
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.
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.
@AmmarKamoona HI, can you share the complete code for training in Shanghaitech dataset?
best wishes
from novelty-detection.
@AmmarKamoona Have you been successful with the training? We just started experimenting with the code.
from novelty-detection.
Related Issues (16)
- I find that there seems to be no training code here. Can you provide training code? HOT 5
- Not be able to download the check point file
- Sampling HOT 10
- ValueError: need at least one array to concatenate
- Why not providing a train.py
- checkpoints link is not working HOT 1
- Update on train script
- Details about training HOT 4
- import errors? HOT 1
- how to training? HOT 2
- Loss exploding after few steps HOT 22
- train ucsd HOT 8
- Question about Shanghaitech HOT 3
- Train own dataset HOT 2
- About trainning. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from novelty-detection.