Giter Site home page Giter Site logo

maet3608 / oct-lasagne Goto Github PK

View Code? Open in Web Editor NEW
21.0 1.0 2.0 37.6 MB

Tool for the surface annotation of retinal Optical Coherence Tomography (OCT) volumes

License: Apache License 2.0

Python 100.00%
oct optical-coherence-tomography layer-annotation surface-annotation volume

oct-lasagne's Issues

ImportError: cannot import name '_get_handle' from 'pandas.io.common'

I encounted an ImportError when tried "python octlasagne.py config.json" commend
ImportError: cannot import name '_get_handle' from 'pandas.io.common'

here's the output
PS D:\OCT_annotation_tool\oct-lasagne-master\oct-lasagne-master\octlasagne> python octlasagne.py config,json
[INFO ] [Logger ] Record log in C:\Users\OMEN.kivy\logs\kivy_22-12-12_1.txt
[INFO ] [deps ] Successfully imported "kivy_deps.angle" 0.3.3
[INFO ] [deps ] Successfully imported "kivy_deps.glew" 0.3.1
[INFO ] [deps ] Successfully imported "kivy_deps.sdl2" 0.4.5
[INFO ] [Kivy ] v2.1.0
[INFO ] [Kivy ] Installed at "C:\Users\OMEN\miniconda3\lib\site-packages\kivy_init_.py"
[INFO ] [Python ] v3.9.13 (main, Oct 13 2022, 21:23:06) [MSC v.1916 64 bit (AMD64)]
[INFO ] [Python ] Interpreter at "C:\Users\OMEN\miniconda3\python.exe"
[INFO ] [Logger ] Purge log fired. Processing...
[INFO ] [Logger ] Purge finished!
[INFO ] [Factory ] 189 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the "OpenGL" graphics system
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <b'4.6.0 - Build 30.0.101.2079'>
[INFO ] [GL ] OpenGL vendor <b'Intel'>
[INFO ] [GL ] OpenGL renderer <b'Intel(R) Iris(R) Xe Graphics'>
[INFO ] [GL ] OpenGL parsed version: 4, 6
[INFO ] [GL ] Shading version <b'4.60 - Build 30.0.101.2079'>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <32>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Text ] Provider: sdl2
ERROR: Configuration files does not exist: config,json
PS D:\OCT_annotation_tool\oct-lasagne-master\oct-lasagne-master\octlasagne> python octlasagne.py config.json
[INFO ] [Logger ] Record log in C:\Users\OMEN.kivy\logs\kivy_22-12-12_2.txt
[INFO ] [deps ] Successfully imported "kivy_deps.angle" 0.3.3
[INFO ] [deps ] Successfully imported "kivy_deps.glew" 0.3.1
[INFO ] [deps ] Successfully imported "kivy_deps.sdl2" 0.4.5
[INFO ] [Kivy ] v2.1.0
[INFO ] [Kivy ] Installed at "C:\Users\OMEN\miniconda3\lib\site-packages\kivy_init_.py"
[INFO ] [Python ] v3.9.13 (main, Oct 13 2022, 21:23:06) [MSC v.1916 64 bit (AMD64)]
[INFO ] [Python ] Interpreter at "C:\Users\OMEN\miniconda3\python.exe"
[INFO ] [Logger ] Purge log fired. Processing...
[INFO ] [Logger ] Purge finished!
[INFO ] [Factory ] 189 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the "OpenGL" graphics system
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <b'4.6.0 - Build 30.0.101.2079'>
[INFO ] [GL ] OpenGL vendor <b'Intel'>
[INFO ] [GL ] OpenGL renderer <b'Intel(R) Iris(R) Xe Graphics'>
[INFO ] [GL ] OpenGL parsed version: 4, 6
[INFO ] [GL ] Shading version <b'4.60 - Build 30.0.101.2079'>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <32>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Text ] Provider: sdl2
Traceback (most recent call last):
File "D:\OCT_annotation_tool\oct-lasagne-master\oct-lasagne-master\octlasagne\octlasagne.py", line 43, in
application.run()
File "C:\Users\OMEN\miniconda3\lib\site-packages\kivy\app.py", line 954, in run
self._run_prepare()
File "C:\Users\OMEN\miniconda3\lib\site-packages\kivy\app.py", line 924, in _run_prepare
root = self.build()
File "D:\OCT_annotation_tool\oct-lasagne-master\oct-lasagne-master\octlasagne\octapp.py", line 150, in build
self.prepare_annotation()
File "D:\OCT_annotation_tool\oct-lasagne-master\oct-lasagne-master\octlasagne\octapp.py", line 165, in prepare_annotation
save_as_pickle(df, self.annopath)
[INFO ] [Text ] Provider: sdl2
Traceback (most recent call last):
File "D:\OCT_annotation_tool\oct-lasagne-master\oct-lasagne-master\octlasagne\octlasagne.py", line 43, in
application.run()
File "C:\Users\OMEN\miniconda3\lib\site-packages\kivy\app.py", line 954, in run
self._run_prepare()
File "C:\Users\OMEN\miniconda3\lib\site-packages\kivy\app.py", line 924, in _run_prepare
root = self.build()
File "D:\OCT_annotation_tool\oct-lasagne-master\oct-lasagne-master\octlasagne\octapp.py", line 150, in build
self.prepare_annotation()
File "D:\OCT_annotation_tool\oct-lasagne-master\oct-lasagne-master\octlasagne\octapp.py", line 165, in prepare_annotation
save_as_pickle(df, self.annopath)
File "D:\OCT_annotation_tool\oct-lasagne-master\oct-lasagne-master\octlasagne\common.py", line 57, in save_as_pickle
from pandas.io.common import _get_handle, _infer_compression
ImportError: cannot import name '_get_handle' from 'pandas.io.common' (C:\Users\OMEN\miniconda3\lib\site-packages\pandas\io\common.py)

Can you help me with this issue?

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.