Coder Social home page Coder Social logo

Comments (5)

huo-ju avatar huo-ju commented on September 2, 2024

Hi, It looks like something wrong during the model download task.

Please see this line about the download.

post-extract:

Did you see any errors after make?

from photoprism-freebsd-port.

fafafabien avatar fafafabien commented on September 2, 2024

Hi, thanks a lot for the hint, should I have seen that by self!
Indeed the 3 .zip downloads failed because the '--inet4-only' option isn't recognized, see extract below:


Installing Facenet model for TensorFlow...
Downloading latest model from https://dl.photoprism.app/tensorflow/facenet.zip?20221030...
wget: unrecognized option '--inet4-only'
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
shasum: /tmp/photoprism/facenet.zip: No such file or directory

unzip: Failed to open '/tmp/photoprism/facenet.zip'
./scripts/download-facenet.sh: line 44: assets/facenet/version.txt: No such file or directory
Latest Facenet installed.

I just downloaded manually the 3 zip and put them when the script expect them and all went like a charm.

I guess you need to do quick fix on the wget calls used in the Makefile, I won't take the risk to mess that up so I am leaving it to you!

Thx again,

Fabien

from photoprism-freebsd-port.

huo-ju avatar huo-ju commented on September 2, 2024

The model download script is from upstream, so I think that they may have a reason to add the '--inet4-only' option. I may just add a newer wget version dependency to make sure it have this option, is that ok?

from photoprism-freebsd-port.

fafafabien avatar fafafabien commented on September 2, 2024

Sure, sounds good to me.
It would be nicer to have the script compiling properly without having to manually intervene.
Also I closed/reopened the issue as running a "portupgrade -a" I had the impression the pb was corrected but it is still there, sorry :-)

from photoprism-freebsd-port.

huo-ju avatar huo-ju commented on September 2, 2024

fixed @ 1bf2a40 the wget dependency set to 1.21+

from photoprism-freebsd-port.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.