Giter Site home page Giter Site logo

errors about mosaic HOT 4 CLOSED

codebox avatar codebox commented on June 12, 2024
errors

from mosaic.

Comments (4)

codebox avatar codebox commented on June 12, 2024

It looks like the utility can't find your 'tile' images (in the error message it says Processed 0 tiles) it may be because of the single-quotes in the path to '...Thai-beach' try running the command without them and see if that helps

from mosaic.

rastarr avatar rastarr commented on June 12, 2024

Nope, same errors, weirdness-

python3 /Volumes/SSD2/Users/martin/Downloads/_CleanShotX-Save/mosaic.py 2019-02-04--16-11-41.jpeg /Volumes/Creation/Thai-beach Processing main image... Main image processed. Reading tiles from /Volumes/Creation/Thai-beach... Processed 0 tiles. Building mosaic, press Ctrl-C to abort... Process Process-1: Traceback (most recent call last): File "/usr/local/Cellar/[email protected]/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/usr/local/Cellar/[email protected]/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/Volumes/SSD2/Users/martin/Downloads/_CleanShotX-Save/mosaic.py", line 169, in build_mosaic tile_data = all_tile_data_large[best_fit_tile_index] TypeError: list indices must be integers or slices, not NoneType

from mosaic.

codebox avatar codebox commented on June 12, 2024

That's strange, it might be some permissions issue with the directory containing the tiles, maybe try copying them to the same volume as the code somewhere nice and accessible like a folder on your desktop

from mosaic.

rastarr avatar rastarr commented on June 12, 2024

Oh thanks so much. that did the trick.
Not sure why but can look at that later.
thanks again Rob

from mosaic.

Related Issues (15)

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.