Open ming8924 opened 8 years ago
Have the same problem here as well :-(
After digging into the code, I found the solution. In the object box shown as below, there is a check mark on the top right corner. After clicking that and click "save work" button, your video will be marked as done.
For your second question, please see my answer in issue24
Hi @Jamesjue,
This check mark in object box, I'm not able to find in --offline mode. Is this online mode.? I want to track user in --offline mode. Is this possible.
I'm running offline mode. You need to create an object first by clicking the add button, and then you'll see it
@Jamesjue , I'm also running in offline mode but I'm not able to see id, classify button, Tracking etc. Have you done any changes in code
A more well-maintained fork of vatic is here: https://github.com/johndoherty/vatic
Thanks @Jamesjue
I'm having an issue trying to run the offline-mode.
I want to run vatic on my personal pc, but i'm stuck in a small issue
after "turkic status --verify"
i got the following
Localhost: localhost
Testing access to Amazon Mechanical Turk... ERROR! Signature or access key missing Testing access to database server... OK Testing access to web server... ERROR! unknown url type: localhost/turkic/verify.html
I don't know what am i supposed to set in the config.py file
in config.py
localhost = "localhost"
in 000-default.conf
ServerName localhost <VirtualHost *:80>
DocumentRoot /home/cse2017/Desktop/Projects/vatic/public
WSGIScriptAlias /server /home/cse2017/Desktop/Projects/vatic/server.py CustomLog /var/log/apache2/access.log combined
but i can't get it running, could you please let me know how am i supposed to configure these file right ?
Thanks.
@OmarMAmin Try This
cp /home/vatic/turkic/turkic/public/* /home/vatic/vatic/public/turkic
Then Restart apache2
sudo apache2ctl graceful
@OmarMAmin
Local host should be be define in 000-default.conf and config.py like localhost = "http://localhost"
Thank you so much, it fixes the issue, i got the following:
Localhost: http://localhost
Testing access to Amazon Mechanical Turk... ERROR! Signature or access key missing Testing access to database server... OK Testing access to web server... ERROR! HTTP Error 403: Forbidden
and i tried the following https://github.com/cvondrick/vatic/issues/17#issuecomment-203003980
and it fixed the issue and now i'm trying to use it.
Thanks all for your help
Hi @Jamesjue
As you have already install this version https://github.com/johndoherty/vatic of vatic. I'm facing some error. When it is comes to
cd vatic_tracking python setup.py install
running install
running build
running build_py
running build_ext
building 'cpptrack' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/etruser/anaconda2/include/python2.7 -c cpptrack/cpptrack.cpp -o build/temp.linux-x86_64-2.7/cpptrack/cpptrack.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/etruser/anaconda2/include/python2.7 -c cpptrack/trackingmodule.cpp -o build/temp.linux-x86_64-2.7/cpptrack/trackingmodule.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/etruser/anaconda2/include/python2.7 -c cpptrack/CompressiveTracker.cpp -o build/temp.linux-x86_64-2.7/cpptrack/CompressiveTracker.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/etruser/anaconda2/include/python2.7 -c cpptrack/CompressiveTrackerModule.cpp -o build/temp.linux-x8664-2.7/cpptrack/CompressiveTrackerModule.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
cpptrack/CompressiveTrackerModule.cpp:5:40: error: ‘string’ has not been declared
void compressivetrack(Rect initialBox, string basePath,
^
cpptrack/CompressiveTrackerModule.cpp: In function ‘void compressivetrack(cv::Rect, int, int, int, std::vectorcv::Rect
I'd be very thankful if you can help
the problem in the file CompressiveTrackerModule.cpp in vatictracking folder
you need to change string into std::string and it'll compile with you
please let me know if you managed to get it working, as i couldn't, i'm stuck in the next step
@gsikheria I didn't encounter any problem compiling the module. I compiled it on ubuntu 14.04 with gcc 4.8.4 and cython -0.24
Hi @OmarMAmin , Thanks for help. I 'm able to compile now. For #42 Cross check all the packages by going into shell script "vatic-install-local.sh". Try to install each packages separately, then again run the script.
Hi @Jamesjue and @ming8924 ,
Since my above problem is solved but I stuck at "turkic setup --database"
Traceback (most recent call last):
File "/home/etruser/.env/bin/turkic", line 4, in
I've crossed checked I've python-mysqldb, sqlalchemy.
Hi @gsikheria , im getting the same error "ImportError no module named mysql.db" How did you resolve it? Thanks
try this apt-get install python-mysqldb. If this not work check , sqlalchemy.
Thank you!
On Sat, Sep 24, 2016, 9:24 PM Gunjan kumar sikheria < notifications@github.com> wrote:
try this apt-get install python-mysqldb. If this not work check , sqlalchemy.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cvondrick/vatic/issues/38#issuecomment-249401981, or mute the thread https://github.com/notifications/unsubscribe-auth/ABe6_8Js1HT25rLdcUyJzlxyZabR9-OYks5qtfdsgaJpZM4Htf0o .
@ming8924 can you explain how did you make vatic work in offline mode...
I am running this command
Turkic publish --offline
and there are links in the results but when I open those links it is not opening the GUI of vatic
Yep, even I'm not able to open the GUI for vatic after publishing it offline. How do we access the GUI? The link generated after turkic publish --offline
gives a link like http://localhost?id=4&hitId=offline, but when i click on that, it shows "Server Error" on a black-grey screen.
@AkarshNKolekar when I used the steps given in one of the answers of issue #37 for installation it resolved my problem
Hi, I have just got vatic to work in offline mode and am able to annotate the video segments. However, when I type
turkic list --published
it shows nothing.turkic list --stats
shows 0/30 completed videos even though I have annotated some videos and save the work.Also, I am wondering for the offline mode, do I have to enter the url every time I work on a video segments?
Thanks