Code Monkey home page Code Monkey logo

Comments (22)

qgicup avatar qgicup commented on August 18, 2024

Have the same problem here as well :-(

from vatic.

junjuew avatar junjuew commented on August 18, 2024

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.

screenshot from 2016-04-13 21 53 54

For your second question, please see my answer in issue24

from vatic.

gsikheria avatar gsikheria commented on August 18, 2024

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.

from vatic.

junjuew avatar junjuew commented on August 18, 2024

I'm running offline mode. You need to create an object first by clicking the add button, and then you'll see it

from vatic.

gsikheria avatar gsikheria commented on August 18, 2024

@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
vvv

from vatic.

junjuew avatar junjuew commented on August 18, 2024

A more well-maintained fork of vatic is here: https://github.com/johndoherty/vatic

from vatic.

gsikheria avatar gsikheria commented on August 18, 2024

Thanks @jamesjue

from vatic.

OmarMAmin avatar OmarMAmin commented on August 18, 2024

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.

from vatic.

ymm8505 avatar ymm8505 commented on August 18, 2024

@OmarMAmin Try This

cp /home/vatic/turkic/turkic/public/* /home/vatic/vatic/public/turkic

Then Restart apache2

sudo apache2ctl graceful

from vatic.

gsikheria avatar gsikheria commented on August 18, 2024

@OmarMAmin

Local host should be be define in 000-default.conf and config.py like
localhost = "http://localhost"

from vatic.

OmarMAmin avatar OmarMAmin commented on August 18, 2024

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
#17 (comment)

and it fixed the issue and now i'm trying to use it.

Thanks all for your help

from vatic.

gsikheria avatar gsikheria commented on August 18, 2024

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-x86_64-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_&)’:
cpptrack/CompressiveTrackerModule.cpp:11:42: error: invalid conversion from ‘int’ to ‘const char_’ [-fpermissive]
getFrame(start, basePath, gray, false);
^
In file included from /usr/include/c++/4.8/string:53:0,
from /usr/local/include/opencv2/core/cvstd.hpp:58,
from /usr/local/include/opencv2/core/base.hpp:56,
from /usr/local/include/opencv2/core.hpp:54,
from /usr/local/include/opencv2/opencv.hpp:46,
from cpptrack/trackingmodule.h:1,
from cpptrack/CompressiveTrackerModule.cpp:1:
/usr/include/c++/4.8/bits/basic_string.tcc:212:5: error: initializing argument 1 of ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ [-fpermissive]
basic_string<_CharT, _Traits, Alloc>::
^
cpptrack/CompressiveTrackerModule.cpp:17:42: error: invalid conversion from ‘int’ to ‘const char
’ [-fpermissive]
getFrame(i, basePath, gray, false);
^
In file included from /usr/include/c++/4.8/string:53:0,
from /usr/local/include/opencv2/core/cvstd.hpp:58,
from /usr/local/include/opencv2/core/base.hpp:56,
from /usr/local/include/opencv2/core.hpp:54,
from /usr/local/include/opencv2/opencv.hpp:46,
from cpptrack/trackingmodule.h:1,
from cpptrack/CompressiveTrackerModule.cpp:1:
/usr/include/c++/4.8/bits/basic_string.tcc:212:5: error: initializing argument 1 of ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const CharT, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’ [-fpermissive]
basic_string<_CharT, _Traits, _Alloc>::
^
error: command 'gcc' failed with exit status 1

I'd be very thankful if you can help

from vatic.

OmarMAmin avatar OmarMAmin commented on August 18, 2024

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

#42

from vatic.

junjuew avatar junjuew commented on August 18, 2024

@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

from vatic.

gsikheria avatar gsikheria commented on August 18, 2024

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.

from vatic.

gsikheria avatar gsikheria commented on August 18, 2024

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
import('pkg_resources').run_script('turkic==0.2.5', 'turkic')
File "/home/etruser/.env/local/lib/python2.7/site-packages/pkg_resources/init.py", line 719, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/etruser/.env/local/lib/python2.7/site-packages/pkg_resources/init.py", line 1504, in run_script
exec(code, namespace, namespace)
File "/home/etruser/.env/lib/python2.7/site-packages/turkic-0.2.5-py2.7.egg/EGG-INFO/scripts/turkic", line 12, in
import cli
File "/home/etruser/vatic/cli.py", line 7, in
from turkic.cli import handler, importparser, Command, LoadCommand
File "/home/etruser/.env/local/lib/python2.7/site-packages/turkic-0.2.5-py2.7.egg/turkic/cli.py", line 9, in
import database
File "/home/etruser/.env/local/lib/python2.7/site-packages/turkic-0.2.5-py2.7.egg/turkic/database.py", line 30, in
engine = create_engine(config.database, pool_recycle = 3600)
File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/init.py", line 386, in create_engine
File "build/bdist.linux-x86_64/egg/sqlalchemy/engine/strategies.py", line 75, in create
File "build/bdist.linux-x86_64/egg/sqlalchemy/dialects/mysql/mysqldb.py", line 92, in dbapi
ImportError: No module named MySQLdb

I've crossed checked I've python-mysqldb, sqlalchemy.

from vatic.

mobooya avatar mobooya commented on August 18, 2024

Hi @gsikheria , im getting the same error "ImportError no module named mysql.db" How did you resolve it? Thanks

from vatic.

gsikheria avatar gsikheria commented on August 18, 2024

try this
apt-get install python-mysqldb. If this not work check , sqlalchemy.

from vatic.

mobooya avatar mobooya commented on August 18, 2024

Thank you!

On Sat, Sep 24, 2016, 9:24 PM Gunjan kumar sikheria <
[email protected]> 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
#38 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABe6_8Js1HT25rLdcUyJzlxyZabR9-OYks5qtfdsgaJpZM4Htf0o
.

from vatic.

otkupjnoz avatar otkupjnoz commented on August 18, 2024

@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

from vatic.

AkarshNKolekar avatar AkarshNKolekar commented on August 18, 2024

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.

from vatic.

otkupjnoz avatar otkupjnoz commented on August 18, 2024

@AkarshNKolekar when I used the steps given in one of the answers of issue #37 for installation it resolved my problem

from vatic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.