question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

train/add/name not working

See original GitHub issue

Hi,

Congrats on the new version, looking really nice.

Just coming back to play with this and ran into an error with the train feature. I’ve used this functionality before with success, but having issues with v.90.

I can see inside the docker shell that storage is set up correctly, i.e. within the docket OS I can see files at /.storage/train/alex. But when I try and load this via a post call:

curl --location --request POST 'localhost:3010/api/train/add/alex'

I get 0 files queued:

info: alex: queuing 0 file(s) for training
info: alex: training complete in 5.21 sec

This is starting with clean (deleted) database.db.

Any idea what I might be missing?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Alfiegernercommented, Jul 21, 2021

That worked! Thanks @jakowenko !

0reactions
maxi1134commented, Aug 12, 2021

Hi there, Thanks for the prompt help!

I tried using that post command and it showed success! image

Unfortunately, the face is not taught from what I can tell: image

Update:

It seems like the logs show that it is not queuing anything: image

I tried adding new images but it still shows 0

Update2: It does seem to work on an existing person: image

What I am trying to do is to automate initial person creation using actionable notifications.

I answer it and it copies the image in the right folder, and then launches that POPST command along with the right name. Any way to get it to work with persons that are not yet created?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add Name Personalize for Dad Thermal Travel Mug - Zazzle
Shop Steam Train - Add Name Personalize for Dad Thermal Travel Mug created ... Add Name Edit Text Can't Work Today Have To...
Read more >
Train Clipart Christmas Train Sublimation Choo Choo ... - Etsy
Easy to use and easy to add personalization if wanted. No issues with file.
Read more >
(s106) City Vehicles Fire Truck Ambulance Police Sherrif Car ...
Product Info Color: Cannot be changedSize for Entire Design: Width (side to side) ... (s106) Race Car Train Add Name Text.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found