Skip to content

Docker Install - mapKurator with Recogito - Image processing fails #4

@ewlarson

Description

@ewlarson

I was able to follow the "Use mapKurator with Recogito" > Installation steps all the way to running the mapKurator option on an uploaded image file in Recogito, but the mapKurator action fails with this message and Recogito stack trace:

Message

"Processing failed: /home/mapkurator-system/data/test_imgs/sample_output/039106c2-41fc-4340-9247-4678d47ea886_annotations.json (No such file or directory)"

Recogito application

[info] - application - Copying from file: /home/recogito2/uploads/user_data/ew/ewlarson/qf0orxqkmknzty/039106c2-41fc-4340-9247-4678d47ea886.jpeg to /home/mapkurator-system/data/test_imgs/sample_input/039106c2-41fc-4340-9247-4678d47ea886.jpeg
[info] - application - Starting mapKurator - image upload
2023-11-14 10:58:46.246303: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  SSE4.1 SSE4.2 AVX AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
WARNING:root:No files found for /home/mapkurator-system/data/test_imgs/sample_output/intermediate_results/stitch/intermediate_results/
[info] - application - mapKurator completed
java.io.FileNotFoundException: /home/mapkurator-system/data/test_imgs/sample_output/039106c2-41fc-4340-9247-4678d47ea886_annotations.json (No such file or directory)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at transform.mapkurator.MapKuratorActor.doWork(MapKuratorActor.scala:32)
	at transform.WorkerActor$$anonfun$receive$1.applyOrElse(WorkerActor.scala:33)
	at akka.actor.Actor$class.aroundReceive(Actor.scala:517)
	at transform.WorkerActor.aroundReceive(WorkerActor.scala:11)
	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:588)
	at akka.actor.ActorCell.invoke(ActorCell.scala:557)
	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:258)
	at akka.dispatch.Mailbox.run(Mailbox.scala:225)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)

It appears the "stitch" process fails and ultimately no annotations are output.

Any advice for troubleshooting this error?


I'm running the application on a Paperspace ML-in-a-box machine:

OS template => ML-in-a-Box Ubuntu 20.04
Machine => GPU+ $0.45/hr | 8 CPU | 30 GB RAM | Quadro M4000
Region => East Coast (NY2)
Disk size => 100GB

These are the libraries installed by default:
https://github.com/Paperspace/ml-in-a-box


Screenshot 2023-11-14 at 11 24 55 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions