Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting COCO freezes #295

Open
martinkjlarsson opened this issue Nov 3, 2024 · 4 comments
Open

Exporting COCO freezes #295

martinkjlarsson opened this issue Nov 3, 2024 · 4 comments
Assignees

Comments

@martinkjlarsson
Copy link

Describe the bug
When I export annotated data as COCO, the export never finishes. See the image below. The first export had the format Xtreme1 and succeeded. The second export had the format COCO but got stuck processing. I only annotated one image with a bounding box, so I don't expect the export to take long.

To Reproduce
Steps to reproduce the behavior:

  1. Install Xtreme1 as specified in the README.
  2. Annotate one of the default cat images with a bounding box.
  3. Export annotated images in COCO format.

Expected behavior
A zip-file with annotations in COCO format similar to when exporting in Xtreme1 format.

Screenshots
image

Desktop:

  • OS: Ubuntu 22.04.1 LTS running on Windows (WSL).
  • Browser: Firefox (132.0) and Chrome (130.0.6723.92)
  • Version: xtreme1-v091
@Luca120420
Copy link

same problem. Did you find a solution?

@martinkjlarsson
Copy link
Author

No solution yet, but this exception seems to occur on the backend when starting the export:

Exception in thread "pool-1-thread-3" cn.hutool.core.io.IORuntimeException: NoSuchFileException: /tmp/xtreme1/Image Trial-20241105123032/image
        at cn.hutool.core.io.file.PathUtil.moveContent(PathUtil.java:531)
        at cn.hutool.core.io.file.PathUtil.move(PathUtil.java:494)
        at ai.basic.x1.usecase.ExportUseCase.getDataAndUpload(ExportUseCase.java:152)
        at ai.basic.x1.usecase.ExportUseCase.asyncExportDataZip(ExportUseCase.java:114)
        at ai.basic.x1.usecase.DataInfoUseCase.lambda$export$18(DataInfoUseCase.java:540)
        at com.alibaba.ttl.TtlRunnable.run(TtlRunnable.java:59)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.nio.file.NoSuchFileException: /tmp/xtreme1/Image Trial-20241105123032/image
        at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
        at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
        at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:149)
        at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
        at java.base/java.nio.file.Files.readAttributes(Files.java:1764)
        at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:219)
        at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276)
        at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:322)
        at java.base/java.nio.file.Files.walkFileTree(Files.java:2717)
        at java.base/java.nio.file.Files.walkFileTree(Files.java:2797)
        at cn.hutool.core.io.file.PathUtil.moveContent(PathUtil.java:527)
        ... 8 more

@martinkjlarsson
Copy link
Author

I tried running it on another computer (Ubuntu 22.04.4 LTS), but the issue persists. Any help would be most welcomed.

@jaggerwang jaggerwang assigned fanyinbo and unassigned jaggerwang Nov 8, 2024
@martinkjlarsson
Copy link
Author

This seems to have been fixed by 4543067 and is available on the main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants