Skip to content

fix:Cannot run locomo evaluation #364

@renqianluo

Description

@renqianluo

Pre-submission checklist | 提交前检查

  • I have searched existing issues and this hasn't been mentioned before | 我已搜索现有问题,确认此问题尚未被提及
  • I have read the project documentation and confirmed this issue doesn't already exist | 我已阅读项目文档并确认此问题尚未存在
  • This issue is specific to MemOS and not a general software issue | 该问题是针对 MemOS 的,而不是一般软件问题

Bug Description | 问题描述

I use docker compose to set up the containers.
Then when I run evaluation/scripts/run_locomo_eval.sh and set LIB=memos-api, MEMOS_BASE_URL="http://localhost:8000/product", it throws bunch of following errors:

Error processing user 0, session session_0: HTTPConnectionPool(host='localhost', port=8000): Max retries exceeded with url: /product/users/register (Caused by ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')))

How to Reproduce | 如何重现

  1. cd evaluation
  2. Set up the .env file where I set MEMOS_BASE_URL="http://localhost:8000/product"
  3. Set PYTHONPATH=../src
  4. run evaluation/scripts/run_locomo_eval.sh

Environment | 环境信息

I use poetry to set up the environment.

Python 3.12.7

Ubuntu 22.04.5 LTS

Name: MemoryOS
Version: 1.1.2
Summary: Intelligence Begins with Memory
Home-page: https://memos.openmem.net/
Author: MemTensor
Author-email: MemTensor@memtensor.cn
License: Apache-2.0
Location: ***/.cache/pypoetry/virtualenvs/memoryos-k5smbRQN-py3.12/lib/python3.12/site-packages
Editable project location: ***/MemOS
Requires: fastapi, fastmcp, ollama, openai, pymysql, python-dateutil, scikit-learn, sqlalchemy, tenacity, transformers
Required-by:

Additional Context | 其他信息

No response

Willingness to Implement | 实现意愿

  • I'm willing to implement this myself | 我愿意自己解决
  • I would like someone else to implement this | 我希望其他人来解决

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpendingPending items to be addressed | 待解决事项。

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions