Giter VIP home page Giter VIP logo

imagesplit's People

Contributors

tomdoel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

chelovek21 pprp kant

imagesplit's Issues

AttributeError: type object 'TiffFileReader' has no attribute 'load_and_parse_header'

OS: Ubuntu 20.04 LTS
Installation: pip install imagesplit
version: ImageSplit==0.3.1

File used: tiff file
Command: imagesplit --input input_data/b2dc8411c.tiff --out output_data/split_image -s c --format tiff -z --rescale -50 350 --type uchar

Output:
Traceback (most recent call last):
File "/home/user/programs/anaconda3/envs/detctron2/bin/imagesplit", line 8, in
sys.exit(main())
File "/home/user/programs/anaconda3/envs/detctron2/lib/python3.6/site-packages/imagesplit/applications/split_files.py", line 274, in main
test=args.test)
File "/home/user/programs/anaconda3/envs/detctron2/lib/python3.6/site-packages/imagesplit/applications/split_files.py", line 43, in split_file
descriptor_filename, input_file_base, start_index, input_file_base)
File "/home/user/programs/anaconda3/envs/detctron2/lib/python3.6/site-packages/imagesplit/applications/split_files.py", line 74, in specify_input_descriptors
generate_input_descriptors(input_file_base, start_index)
File "/home/user/programs/anaconda3/envs/detctron2/lib/python3.6/site-packages/imagesplit/utils/file_descriptor.py", line 273, in generate_input_descriptors
format_factory)
File "/home/user/programs/anaconda3/envs/detctron2/lib/python3.6/site-packages/imagesplit/utils/file_descriptor.py", line 418, in parse_header
return factory.get_factory(format_string).load_and_parse_header(filename)
AttributeError: type object 'TiffFileReader' has no attribute 'load_and_parse_header'

Other:
I have tried with different TIFF files, even with a smaller 10MB file ranging upto 2GB file size
Error is same.

Am I giving the correct input? ie; TIFF file or should I be giving some header ??

Regards,
Anup

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.