facebookresearch / aepsych

AEPsych is a tool for adaptive experimentation in psychophysics and perception research, built on top of gpytorch and botorch.
aepsych.org
Other
56 stars 43 forks source link

Launching AEPsych server error #341

Closed garcikar closed 4 months ago

garcikar commented 6 months ago

Hello @crasanders !

My name is Karen Garcia, and I am a data analyst at Oregon Health and Science University. I recently came across your research paper Adaptive Nonparametric Psychophysics, and I am very interested in using AEPsych.

Mike Shvartsman gave me your name as a point person for answering questions about AEPsych. I started following the tutorial on your documentation website: https://aepsych.org/#quickstart

  1. I tried launching it in server mode with this command from the tutorial:

aepsych_server --port 5555 --ip 0.0.0.0 database --db mydatabase.db

and I got this error :

Screenshot 2024-04-16 at 10 07 04 AM
  1. Then I removed "database" from the command since that's what the error message told me. After that I got a different issue. It seems to be waiting for a connection but it just stays stuck with that. I have waited for hours at a time and a connection never starts.
Screenshot 2024-04-16 at 10 07 40 AM

If I could get some clarity with this issue I would greatly appreciate it.

Thank you for your time and consideration.

crasanders commented 4 months ago

Hello, I apologize for not seeing this sooner! The latter behavior is the expected behavior. The AEPsych server has started, and it is waiting to receive messages from a client. Please see this tutorial for an example of how to communicate with the server using a Python client. We also have Unity and MATLAB clients.