Comments (2)
you can see the source code of the link:
https://github.com/Microsoft/LightLDA/blob/master/src/common.cpp
In the file common.cpp exist fellow code:
void Config::PrintTrainingUsage()
{
printf("LightLDA usage: \n");
printf("-num_vocabs <arg> Size of dataset vocabulary \n");
printf("-num_topics <arg> Number of topics. Default: 100\n");
printf("-num_iterations <arg> Number of iteratioins. Default: 100\n");
printf("-mh_steps <arg> Metropolis-hasting steps. Default: 2\n");
printf("-alpha <arg> Dirichlet prior alpha. Default: 0.1\n");
printf("-beta <arg> Dirichlet prior beta. Default: 0.01\n\n");
printf("-num_blocks <arg> Number of blocks in disk. Default: 1\n");
printf("-max_num_document <arg> Max number of document in a data block \n");
printf("-input_dir <arg> Directory of input data, containing\n");
printf(" files generated by dump_block \n\n");
printf("-num_servers <arg> Number of servers. Default: 1\n");
printf("-num_local_workers <arg> Number of local training threads. Default: 4\n");
printf("-num_aggregator <arg> Number of local aggregation threads. Default: 1\n");
printf("-server_file <arg> Server endpoint file. Used by MPI-free version\n");
printf("-warm_start Warm start \n");
printf("-out_of_core Use out of core computing \n\n");
printf("-data_capacity <arg> Memory pool size(MB) for data storage, \n");
printf(" should larger than the any data block\n");
printf("-model_capacity <arg> Memory pool size(MB) for local model cache\n");
printf("-alias_capacity <arg> Memory pool size(MB) for alias table \n");
printf("-delta_capacity <arg> Memory pool size(MB) for local delta cache\n");
exit(0);
}
I hope the answer can help you with you question.
from lightlda.
infer.obj : error LNK2001: unresolved external symbol "public: __cdecl multiverso::lightlda::AliasTable::~AliasTable(void)" (??1AliasTable@lightlda@multiverso@@qeaa@XZ)
infer.obj : error LNK2001: unresolved external symbol "public: __cdecl multiverso::lightlda::AliasTable::AliasTable(void)" (??0AliasTable@lightlda@multiverso@@qeaa@XZ)
infer.obj : error LNK2001: unresolved external symbol "public: static bool multiverso::lightlda::Config::warm_start" (?warm_start@Config@lightlda@multiverso@@2_NA)
infer.obj : error LNK2001: unresolved external symbol "public: static int multiverso::lightlda::Config::num_iterations" (?num_iterations@Config@lightlda@multiverso@@2ha)
infer.obj : error LNK2001: unresolved external symbol "public: void __cdecl multiverso::lightlda::LocalModel::Init(void)" (?Init@LocalModel@lightlda@multiverso@@QEAAXXZ)
infer.obj : error LNK2001: unresolved external symbol "public: __cdecl multiverso::lightlda::LocalModel::LocalModel(class multiverso::lightlda::Meta *)" (??0LocalModel@lightlda@multiverso@@qeaa@PEAVMeta@12@@z)
infer.obj : error LNK2001: unresolved external symbol "public: static void __cdecl multiverso::lightlda::Config::Init(int,char * * const)" (?Init@Config@lightlda@multiverso@@SAXHQEAPEAD@Z)
infer.obj : error LNK2001: unresolved external symbol "public: static int multiverso::lightlda::Config::num_blocks" (?num_blocks@Config@lightlda@multiverso@@2ha)
infer.obj : error LNK2001: unresolved external symbol "public: static int multiverso::lightlda::Config::num_local_workers" (?num_local_workers@Config@lightlda@multiverso@@2ha)
infer.obj : error LNK2001: unresolved external symbol "public: void __cdecl multiverso::lightlda::Document::GetDocTopicVector(class multiverso::Row &)" (?GetDocTopicVector@Document@lightlda@multiverso@@QEAAXAEAV?$Row@H@3@@z)
infer.obj : error LNK2001: unresolved external symbol "public: static int multiverso::lightlda::Config::num_topics" (?num_topics@Config@lightlda@multiverso@@2ha)
infer.obj : error LNK2001: unresolved external symbol "class multiverso::lightlda::IDataStream * __cdecl multiverso::lightlda::CreateDataStream(void)" (?CreateDataStream@lightlda@multiverso@@YAPEAVIDataStream@12@XZ)
infer.obj : error LNK2001: unresolved external symbol "public: void __cdecl multiverso::lightlda::Meta::Init(void)" (?Init@Meta@lightlda@multiverso@@QEAAXXZ)
infer.obj : error LNK2001: unresolved external symbol "public: __cdecl multiverso::lightlda::Meta::~Meta(void)" (??1Meta@lightlda@multiverso@@qeaa@XZ)
infer.obj : error LNK2001: unresolved external symbol "public: __cdecl multiverso::lightlda::Meta::Meta(void)" (??0Meta@lightlda@multiverso@@qeaa@XZ)
infer.obj : error LNK2001: unresolved external symbol "public: static bool multiverso::lightlda::Config::inference" (?inference@Config@lightlda@multiverso@@2_NA)
inferer.obj : error LNK2001: unresolved external symbol "public: int __cdecl multiverso::lightlda::LightDocSampler::SampleOneDoc(class multiverso::lightlda::Document *,int,int,class multiverso::lightlda::ModelBase *,class multiverso::lightlda::AliasTable *)" (?SampleOneDoc@LightDocSampler@lightlda@multiverso@@QEAAHPEAVDocument@23@HHPEAVModelBase@23@PEAVAliasTable@23@@z)
inferer.obj : error LNK2001: unresolved external symbol "public: __cdecl multiverso::lightlda::LightDocSampler::LightDocSampler(void)" (??0LightDocSampler@lightlda@multiverso@@qeaa@XZ)
inferer.obj : error LNK2001: unresolved external symbol "public: void __cdecl multiverso::lightlda::AliasTable::Clear(void)" (?Clear@AliasTable@lightlda@multiverso@@QEAAXXZ)
inferer.obj : error LNK2001: unresolved external symbol "public: int __cdecl multiverso::lightlda::AliasTable::Build(int,class multiverso::lightlda::ModelBase *)" (?Build@AliasTable@lightlda@multiverso@@QEAAHHPEAVModelBase@23@@z)
inferer.obj : error LNK2001: unresolved external symbol "public: void __cdecl multiverso::lightlda::AliasTable::Init(class multiverso::lightlda::AliasTableIndex *)" (?Init@AliasTable@lightlda@multiverso@@QEAAXPEAVAliasTableIndex@23@@z)
C:\Users\nguyen\Desktop\LightLDA\windows\x64\Release\infer.exe : fatal error LNK1120: 21 unresolved externals
Can anyone help wwhat wrong when i build infer project in VS 2017?
from lightlda.
Related Issues (20)
- a word occurs too many times in all docs that int cannot handle.
- how to install it on multi nodes for distributed training? HOT 10
- How can i use the result to train a topic model HOT 3
- Fatal error in PMPI_Test: A process has failed, error stack: HOT 2
- error occur in Nemesis Network Module HOT 3
- How can i get TOP WORDS for each topic
- when I run the infer it will cause a segmentation fault
- sampling throughput: -nan (tokens/thread/sec)
- Is there any python wrappers for LightLDA?
- Distributed running nytimes through mpi HOT 3
- distributed lightLDA HOT 1
- Size Error while running inference
- lightLDA is killed when traning! HOT 1
- Very Big dataset, Bad Alloc caught: failed memory allocation for documents_buffer in DataBlock
- run example success,but no result
- corpus_size_ > memory_block_size when reading file /data/block.0 HOT 1
- terminate called after throwing an instance of 'zmq::error_t'
- data prepare
- undefined reference to `multiverso:: HOT 2
- The topics don't match when every infer.@feiga
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 lightlda.