Comments (6)
yes, you can, replace the labels with any numbers and then run the algorithm. In this case, you just get some meaningless evaluation results.
from jule.torch.
Do the numbers that I set affect the result?
no, it will not affect the results
Do different sets have different results?
no,
Do I need to set the same category to the same number?
no, just randomly set the ground truth labels.
from jule.torch.
Thanks for your advice.
And I am having trouble when run my data:
`==> testing
NMI: nan
==> online epoch # 0 [batchSize = 100] [learningRate = 0.01]
THCudaCheck FAIL file=/tmp/luarocks_cutorch-scm-1-3009/cutorch/lib/THC/generic/THCStorage.cu line=66 error=2 : out of memory
/home/ai/torch/install/bin/luajit: /home/ai/torch/install/share/lua/5.1/nn/Container.lua:67:
In 2 module of nn.Sequential:
In 1 module of nn.Sequential:
In 2 module of nn.Sequential:
/home/ai/torch/install/share/lua/5.1/nn/THNN.lua:110: cuda runtime error (2) : out of memory at /tmp/luarocks_cutorch-scm-1-3009/cutorch/lib/THC/generic/THCStorage.cu:66
stack traceback:
[C]: in function 'v'
/home/ai/torch/install/share/lua/5.1/nn/THNN.lua:110: in function 'BatchNormalization_updateOutput'
...ai/torch/install/share/lua/5.1/nn/BatchNormalization.lua:124: in function <...ai/torch/install/share/lua/5.1/nn/BatchNormalization.lua:113>
[C]: in function 'xpcall'
/home/ai/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/ai/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function </home/ai/torch/install/share/lua/5.1/nn/Sequential.lua:41>
[C]: in function 'xpcall'
/home/ai/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/ai/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function </home/ai/torch/install/share/lua/5.1/nn/Sequential.lua:41>
[C]: in function 'xpcall'
/home/ai/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/ai/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
train.lua:421: in function 'opfunc'
/home/ai/torch/install/share/lua/5.1/optim/sgd.lua:44: in function 'sgd'
train.lua:436: in function 'updateCNN'
train.lua:487: in main chunk
[C]: in function 'dofile'
...e/ai/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406670
WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above.
stack traceback:
[C]: in function 'error'
/home/ai/torch/install/share/lua/5.1/nn/Container.lua:67: in function 'rethrowErrors'
/home/ai/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
train.lua:421: in function 'opfunc'
/home/ai/torch/install/share/lua/5.1/optim/sgd.lua:44: in function 'sgd'
train.lua:436: in function 'updateCNN'
train.lua:487: in main chunk
[C]: in function 'dofile'
...e/ai/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00406670`
How to solve this problem?
from jule.torch.
it seems that it is out of memory. How much GPU memory do you have? Which GPU are you using? Did you run the examples in this repo, such as MNIST-test, USPS, etc?
from jule.torch.
I think the labels can effect the result. The result was different when I used different labels.
from jule.torch.
you mean the NMI evaluation results? It will definitely affect these results. Also, since the CNN is randomly initialized. Each run you will have slightly different results as well.
from jule.torch.
Related Issues (20)
- How to get the clustered data after training? HOT 3
- It is difficult to train in Large dataset. HOT 3
- How to use cpu to run the torch code. HOT 3
- class torch.LongTensor cannot be indexed, cvt2TabelLabels error HOT 3
- There is a problem when run my data HOT 7
- There is a probelm when I run my data HOT 1
- "bad argument #2 to '?'" error on CIFAR dataset HOT 4
- implementation of run_step_fast
- How to extract feature ? HOT 1
- How to build dataset HOT 5
- urgent question,please HOT 8
- Affinity for clusters
- best solution for CPU-only (knn) HOT 1
- Using labels in organize_samples
- doubt regarding the final loss HOT 2
- dataset
- install lua-knn failed!
- deep_recon function not found
- Test Datasets HOT 4
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 jule.torch.