josedvq / covfee Goto Github PK
View Code? Open in Web Editor NEWextensible web framework for continuous annotation and perception experiments.
Home Page: https://josedvq.github.io/covfee
License: MIT License
extensible web framework for continuous annotation and perception experiments.
Home Page: https://josedvq.github.io/covfee
License: MIT License
covfee-dev schemata
covfee-dev build
covfee mkuser
covfee open
covfee start
covfee webpack
covfee installjs```
I can start covfee:
covfee/samples/basic>covfee start
/home/soren/miniconda3/envs/covfee/lib/python3.7/site-packages/google/oauth2/init.py:40: Python37DeprecationWarning: After January 1, 2024, new releases of this library will drop support for Python 3.7. More details about Python 3.7 support can be found at https://cloud.google.com/python/docs/python37-sunset/
warnings.warn(message, Python37DeprecationWarning)
/home/soren/miniconda3/envs/covfee/lib/python3.7/site-packages/google/auth/init.py:55: Python37DeprecationWarning: After January 1, 2024, new releases of this library will drop support for Python 3.7. More details about Python 3.7 support can be found at https://cloud.google.com/python/docs/python37-sunset/
warnings.warn(message, Python37DeprecationWarning)
__
___ ___ __ __ / | ___ ___
/ | / _ \ \ \ / /| | / _ \ / _
| ( | (_) | \ V / | || /| /
_| _/ _/ || _| _|
URL: http://localhost:5000/admin#
However, the webpage is blank.
Running covfee on a remote server and trying to access it through an SSH tunnel.
#8 introduced constraints on the python version in the toml file. Nevertheless, once the [project] section is introduced, the build system also requires name, version and other attributes. Due to using versioneer, it is not obvious to import the version on the toml file which does not support dynamic content.
After installing covfee python bindings and JS libraries with yarn install
I tried the running the base project. And also following the tutorial (https://josedvq.github.io/covfee/docs/getting_started) I ran into the following:
covfee make .
✔ 1 covfee project files found.
✔ Read covfee file example.covfee.json.
✖ Error validating project "My Covfee Project" in example.covfee.json.
Traceback (most recent call last):
File "/Users/sdrwacker/workspace/covfee/covfee/cli/commands/launch.py", line 163, in make
covfee_make(file_or_folder, force=force, rms=rms, stdout_enabled=True)
File "/Users/sdrwacker/workspace/covfee/covfee/utils.py", line 31, in covfee_make
project_folder.validate(with_spinner=stdout_enabled)
File "/Users/sdrwacker/workspace/covfee/covfee/covfee_folder.py", line 99, in validate
raise e
File "/Users/sdrwacker/workspace/covfee/covfee/covfee_folder.py", line 96, in validate
self.validate_project(project_spec, cf, with_spinner=with_spinner)
File "/Users/sdrwacker/workspace/covfee/covfee/covfee_folder.py", line 75, in validate_project
filter = AjvValidator()
^^^^^^^^^^^^^^
File "/Users/sdrwacker/workspace/covfee/covfee/shared/validator/ajv_validator.py", line 29, in __init__
raise e
Exception: Error running JS validator /Users/sdrwacker/workspace/covfee/covfee/server/../shared/validator/validator_service.js
/Users/sdrwacker/workspace/covfee/node_modules/node-gyp-build/node-gyp-build.js:60
throw new Error('No native build was found for ' + target + '\n loaded from: ' + dir + '\n')
^
Error: No native build was found for platform=darwin arch=arm64 runtime=node abi=108 uv=1 armv=8 libc=glibc node=18.16.0
loaded from: /Users/sdrwacker/workspace/covfee/node_modules/zeromq
at load.resolve.load.path (/Users/sdrwacker/workspace/covfee/node_modules/node-gyp-build/node-gyp-build.js:60:9)
at load (/Users/sdrwacker/workspace/covfee/node_modules/node-gyp-build/node-gyp-build.js:22:30)
at Object.<anonymous> (/Users/sdrwacker/workspace/covfee/node_modules/zeromq/lib/native.js:6:43)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Module.load (node:internal/modules/cjs/loader:1117:32)
at Module._load (node:internal/modules/cjs/loader:958:12)
at Module.require (node:internal/modules/cjs/loader:1141:19)
at require (node:internal/modules/cjs/helpers:110:18)
at Object.<anonymous> (/Users/sdrwacker/workspace/covfee/node_modules/zeromq/lib/index.js:3:16)
Node.js v18.16.0
{
"id": "getting_started",
"name": "My Covfee Project",
"email": "[email protected]",
"hits": [
{
"id": "hit1",
"name": "HIT1",
"tasks": [
{
"name": "Demographics",
"type": "QuestionnaireTask",
"form": {
"fields": [
{
"name": "age",
"label": "Your age:",
"input": {
"inputType": "InputNumber"
}
},
{
"name": "sex",
"label": "Your sex:",
"input": {
"inputType": "Select",
"options": [
{"label": "Male", "value": "m"},
{"label": "Female", "value": "f"}
]
}
},
{
"name": "nationality",
"label": "Your nationality:",
"input": {
"inputType": "Input"
}
}
]
}
},
{
"name": "Instructions",
"type": "InstructionsTask",
"content": {
"type": "link",
"url": "$$www$$/instructions.md"
}
},
{
"name": "Arousal annotation",
"type": "Continuous1DTask",
"media": {
"type": "video",
"url": "https://cdn.jsdelivr.net/gh/josedvq/covfee@master/samples/keypoints/www/person_reading.mp4"
},
"intensityInput": {
"mode": "ranktrace"
}
},
{
"name": "Feedback",
"type": "QuestionnaireTask",
"form": {
"fields": [
{
"name": "rating",
"label": "How would you rate your experience in completing this experiment?",
"required": true,
"input": {
"inputType": "Rate",
"half": true
}
},{
"name": "feedback",
"label": "Do you have any comments that can help us improve the experience?",
"input": {
"inputType": "Input.TextArea"
}
}
]
}
}
],
"interface": {
"type": "timeline"
}
}
]
}
.
├── example.covfee.json
└── www
└── instructions.md
pip install -e .
returns
e/include -fPIC -DHAVE_SYS_UN_H=1 -Ibundled/zeromq/include -Izmq/utils -I/home/soren/miniconda3/envs/covfee/include/python3.11 -c zmq/backend/cython/_device.c -o build/temp.linux-x86_64-cpython-311/zmq/backend/cython/_device.o
zmq/backend/cython/_device.c:217:12: fatal error: longintrepr.h: No such file or directory
217 | #include "longintrepr.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
************************************************
************************************************
************************************************
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyzmq
Successfully built covfee flask-jwt-extended halo MarkupSafe
Failed to build pyzmq
ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects
Hello!
I would like to use covfee to annotate human behaviour. However, when I try to install Javascript dependencies by running the command covfee-installjs, I get the following error: bash: covfee-installjs: command not found. Do you know how can I fix it?
Thank you in advance!
After installing covfee with pip install -e .
and running yarn install
no executable file covfee-webpack
is found:
Only:
covfee covfee-dev
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.