semaine / semaine-3.1 Goto Github PK
View Code? Open in Web Editor NEWSEMAINE code 3.1, final version created during the EU FP7 project lifetime
SEMAINE code 3.1, final version created during the EU FP7 project lifetime
The latest documentation on building, installing and running the SEMAINE-3.1 system can be found at http://semaine.opendfki.de/wiki/SEMAINE-3.1. We will soon move this content to the new GitHub space. The GitHub project location is https://github.com/organizations/SEMAINE/ Quickstart guide for Windows: 1. If you have a camera and a fast PC, install the SEMAINE video components from http://ibug.doc.ic.ac.uk/resources 2a. To run the full system on one machine (you should have 8 or more cores @ >2GHz), just run "start.bat" 2b. To run a speech2speech (no 3D agent, and no video input analysis) system, run bin/semaine-speech2speech.bat and after a few seconds start Opensmile/start_openSMILE.bat 3. Wait for the system monitor GUI to display the status "ready", then say Hi.
It seems that the SEMAINE Java components make use of autoboxing in a way that Eclipse 4.2 Juno considers Errors:
Description Resource Path Location Type
The method error(Object[]) is ambiguous for the type JMSLogger Component.java /SEMAINE-Java/src/eu/semaine/components line 261 Java Problem
The method debug(Object[]) is ambiguous for the type JMSLogger QueuingAudioPlayer.java /SEMAINE-Java/src/eu/semaine/components/mary line 242 Java Problem
The method info(Object[]) is ambiguous for the type JMSLogger Component.java /SEMAINE-Java/src/eu/semaine/components line 206 Java Problem
The method debug(Object[]) is ambiguous for the type JMSLogger QueuingAudioPlayer.java /SEMAINE-Java/src/eu/semaine/components/mary line 207 Java Problem
The method info(Object[]) is ambiguous for the type JMSLogger Component.java /SEMAINE-Java/src/eu/semaine/components line 198 Java Problem
The method debug(Object[]) is ambiguous for the type JMSLogger QueuingAudioPlayer.java /SEMAINE-Java/src/eu/semaine/components/mary line 216 Java Problem
The method warn(Object[]) is ambiguous for the type JMSLogger QueuingAudioPlayer.java /SEMAINE-Java/src/eu/semaine/components/mary line 93 Java Problem
The method error(Object[]) is ambiguous for the type JMSLogger QueuingAudioPlayer.java /SEMAINE-Java/src/eu/semaine/components/mary line 130 Java Problem
The method debug(Object[]) is ambiguous for the type JMSLogger Component.java /SEMAINE-Java/src/eu/semaine/components line 255 Java Problem
The method error(Object[]) is ambiguous for the type JMSLogger Component.java /SEMAINE-Java/src/eu/semaine/components line 254 Java Problem
The method error(Object[]) is ambiguous for the type JMSLogger Component.java /SEMAINE-Java/src/eu/semaine/components line 223 Java Problem
The method error(Object[]) is ambiguous for the type JMSLogger Component.java /SEMAINE-Java/src/eu/semaine/components line 218 Java Problem
Both of these classes open ActiveMQ connections to local host only. We should provide the possibility to connect to remote hosts.
I would like to instantiate and delete SEMAINE components. However I get memory problems every time I try to do it.
For example, consider the following code:
void main()
{
//initialize activemq and xmltool
activemq::library::ActiveMQCPP::initializeLibrary();
XMLTool::startupXMLTools();
// instantiate one component
component=new MyComponent();
//push the component into a list
componentsList.push_back(component);
//instantiate the component runner and start it
cr=new semaine::system::ComponentRunner(componentsList);
cr->go();
//do whatever here
//delete the component runner (the destructor also deletes the components in the list)
delete cr;
//shut down activemq and xmltool
XMLTool::shutdownXMLTools();
activemq::library::ActiveMQCPP::shutdownLibrary();
}
If I run the above code I get an error in apr, usually in the apr_pools.c file, in the following function:
APR_DECLARE(char *) apr_pvsprintf(apr_pool_t *pool, const char *fmt, va_list ap)
{
struct psprintf_data ps;
char *strp;
apr_size_t size;
apr_memnode_t *active, *node;
apr_size_t free_index;
ps.node = active = pool->active; /// <<--------------------
It seems to me that there are some threads that are not correctly closed before shutting down activemq, so they continue running after the component is deleted.
If I repeat the test but instead of the Semaine component I instantiate activemq objects I get no errors, like in the following:
void main()
{
HelloWorldProducer producer( brokerURI, numMessages, true );
Thread producerThread( &producer );
producerThread.start();
producerThread.join();
producer.close();
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.