Comments (1)
Thanks for reporting this, and I agree that this is caused by the internal members holding references.
AverageValueMeter
is spec'ed to support tensors
and numpy arrays element-wise. So the correct output for the thread that you linked should be Tensor([[10.]])
(like a single-pixel image). Supporting tensors
like this is desirable if, for example, you wanted to get the mean image in a dataset in order to whiten the inputs.
I think that an earlier contribution broke this tensor
-supporting behavior (understandable, because I neither documented the specifications nor added tests!).
I just pushed a fix and a couple tests to fix the bug. Any documentation or other improvements would be most welcome. Thanks again for posting the issue!
from tnt.
Related Issues (20)
- how to use conda install torchnet? HOT 5
- Confusion Meter with batch of 1.
- Visdom Image Overlapping HOT 1
- Pypi package stuck at 0.0.4
- supported dimension by TNT?
- APMeter trigger a bug with Pytorch 1.3.1
- Is APMeter working correct way?
- APMeter meets a bug in torch==1.1.0
- Bug using MAP Meter
- Installation error HOT 1
- Issue with torch 1.13 HOT 1
- Improve testing for composable FSDP
- Add conda recipe
- How to check `is_last_batch` in torchtnt==0.1.0? HOT 2
- Comparison to Lightning Fabric and ignite HOT 1
- get_module_summary assertion fail HOT 3
- Could not measure the FLOPs of LSTM HOT 2
- Use PEP692 for AutoUnit kwargs typing HOT 1
- AttributeError: module 'torch.amp' has no attribute 'GradScaler' HOT 4
- Filter app state keys in TorchSnapshotSaver
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 tnt.