Comments (8)
Would the maintainers accept a pullrequest because I've spent some time getting the installation script right for Ubuntu 14.04
It is not only getting the correct dependencies, it is about changing pil to pillow as well.
#!/bin/bash -e
sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install -y git python-setuptools python-dev libavcodec-dev libavformat-dev libswscale-dev libjpeg62 libjpeg62-dev libfreetype6 libfreetype6-dev apache2 libapache2-mod-wsgi mysql-server mysql-client libmysqlclient-dev gfortran build-essential ffmpeg
sudo easy_install -U SQLAlchemy wsgilog pillow cython==0.20 mysql-python munkres parsedatetime argparse
sudo easy_install -U numpy
a2enmod headers
git clone https://github.com/cvondrick/turkic.git
git clone https://github.com/cvondrick/pyvision.git
git clone https://github.com/cvondrick/vatic.git
cd turkic
python setup.py build
sudo python setup.py install
cd ..
cd pyvision
python setup.py build
sudo python setup.py install
cd ..
echo "*****************************************************"
echo "*** Please consult README to finish installation. ***"
echo "*****************************************************"
WSGIDaemonProcess www-data python-eggs=/tmp/.python-eggs
WSGIProcessGroup www-data
<VirtualHost *:80>
ServerName vatic.domain.edu
ServerAdmin webmaster@localhost
DocumentRoot /path/to/vatic/vatic/public
<Directory /path/to/vatic/vatic/public>
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AllowOverride all
Require all granted
Satisfy Any
</Directory>
<Directory />
Options Indexes FollowSymLinks Includes
AllowOverride None
</Directory>
ErrorLog /etc/apache2/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
WSGIScriptAlias /server /path/to/vatic/server.py
<Directory "/path/to/vatic">
<Files server.py>
Require all granted
</Files>
</Directory>
</VirtualHost>
from vatic.
Installed and run on Ubuntu 14.04
the problems are mainly Apache2 configuration
0) follow this instructions http://cs-people.bu.edu/sameki/blog2.pdf
- edit the vatic-install.sh : change mysql version to 5.5
- edit /etc/apache2/sites-enabled/000-default
WSGIDaemonProcess www-data
WSGIProcessGroup www-data
<VirtualHost
*:80> ServerName localhost
DocumentRoot /home/calabrese/vatic/public
WSGIScriptAlias /server /home/calabrese/vatic/server.py
<Directory /home/calabrese/vatic>
<Files server.py>
Require all granted
</Files>
</Directory>
<Directory /home/calabrese/vatic/public>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
- edit config.py:
signature = "" # AWS secret access key
accesskey = "" # AWS access key ID
sandbox = "" # if true, put on workersandbox.mturk.com
localhost = "http://localhost" # your local host
database = "mysql://root:root@localhost/vatic" # server://user:pass@localhost/dbname
geolocation = "" # api key for ipinfodb.com
maxobjects = 25;
import multiprocessing
processes = multiprocessing.cpu_count()
import os.path
import sys
sys.path.append(os.path.dirname(os.path.abspath(file)))
-
give chmod -R 777 /var/www (quick solution for the python egg problem )
-
check the errors under /var/logs/apache2/
-
to restart apache use /etc/init.d/apache2 restart
-
load and publish the video with --offline option
-
run vatic:
http://localhost/?id=1&hitId=offline
from vatic.
Hi @drewm1980 ,
I installed and run it on Ubuntu 12.04.5 LTS (on wmware)...following mainly the suggestions I wrote.
What kind of errors do you have?
from vatic.
@gaetanocalabrese It sounds good. Can you post you instruction for ubuntu 12.04 anywhere ?
from vatic.
Hi, I've burned a couple of days too..
Iooking carefully at the output generated by the install script, you can see that it's trying to download packages no more avalable..i.e. mysql 5.1.. so I changed in 5.5
another problem is the cython lib...by default is downloading the 2.4...but some comments suggest to use the 2.0...so I deleted the command and istalled the 2.0
Also the instructions about apache are not complete...in the config file of the apache delivered with the ubuntu 14.04 is missing a session:
<Directory "/path_of_the_directory/"> Order Allow,Deny Allow from all Options Indexes AllowOverride AuthConfig </Directory>
Let see if working together we will be able to run it..
By the way do you know how to run the GUI shown in the demo?
from vatic.
It looks like john doherty's fork has some updated instructions... If I start over I might start there.
https://github.com/johndoherty/vatic/blame/master/README.md
He mentions the avconv fork in Ubuntu 14, so that is promising; he almost certainly got vatic working there.
from vatic.
This guy even typeset his version of the installation instructions, but didn't mention what version of Ubuntu they are for...
http://cs-people.bu.edu/sameki/blog2.pdf
from vatic.
Hi @gaetanocalabrese ,
I spent a few hours trying to install vatic (loosely) following john doherty's fork. He has the issue tracker turned off on his repo, so I'll keep discussion here since most of it probably to mainline too.
He uses virtualenv to try to create a jail for the python installed stuff to try to deal a little with dependency hell. I ran into two major difficulties with that:
-
the virtualenv jail is leaky; several times in the process I accidentally referenced stuff from outside the jail, i.e. by using root user, or by using ipython. That probably contributed to my problems.
-
most of the versions of the python dependencies in pip are not specified, and at least one was out of date.
In the end I did not even get as far as I did following/adapting @cvondrick's instructions on the mainline.
from vatic.
Related Issues (20)
- Precise Annotated data HOT 3
- Testing access to web server... ERROR! HTTP Error 404: Not Found HOT 1
- 404 Not Found HOT 2
- ValueError: invalid literal for int() with base 10: '.DS_Store'
- VATIC and HTTPS
- I installed Vatic on my system as local host but i am not locating my output,please help HOT 1
- AH00112: Warning: DocumentRoot [/home/cmcross/vatic/public] does not exist HOT 1
- For us, the problem was that there was no write permissions to `/var/www/.python-eggs`. If that's the problem, you just need to add permissions there. HOT 6
- Video identifier does not exist! HOT 1
- How do I hide a box from the annotation screen while I label?
- ..
- Extract timestamps instead of frames from output
- Testing access to Amazon Mechanical Turk... ERROR! HTTP Error 403: Forbidden HOT 3
- cython version HOT 1
- ValueError: cannot determine region size; use 4-item box HOT 3
- Cannot reload saved work HOT 1
- How to convert annotations from VATIC format to VOC format ?
- Labeling function issues
- I find in the dump txt files, the same object was annotationed twice even more
- Video in \data folder on computer not found in vagrant_data
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 vatic.