Comments (2)
Hi Steven,
self.targets
and self.data
are lists that store the full dataset and each samples label (if there are no labels, then self.targets
is a list of None
's. I suspect the reason this is a little confusing here is that these variables are not explicitly defined in my code. Instead, for the three datasets I look at here (CIFAR10, CIFAR100, STL10) all of these attributes are inherited from their base class from the torch library (see e.g. the definition of CIFAR10Pair
).
To see a concrete example of what these look like then I recommend loading the torch CIFAR10 dataset and simply printing these two variables.
Hope this helps,
Josh
from hcl.
Feel free to re-open if you have any further questions!
from hcl.
Related Issues (14)
- Question on negatives reweight implementation HOT 2
- Not Frozen Layers during FT HOT 1
- Question about reweight in Graph embedding
- The order to run HCL on CIFAR
- Release s2v-model.py for sentence embedding
- question in code HOT 1
- A question about code HOT 1
- A question about STL10 train_transform
- On the STL10 dataset during linear evaluation HOT 2
- Beta in reweight HOT 1
- Hi, do you have imagenet pretrained resnet50 weights? HOT 1
- what's relationship between beta and temperature? HOT 1
- How to get the partition functions in Page 5 of the paper? 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 hcl.