Comments (5)
I don't think the disappearing issue is related to the spaces.
That occurs in filenames without any spaces and also sometimes does not even occur for filenames with spaces.
BUT If the filename has a space at the end of it, the program will crash.
Because when it creates the folder for saving the results, the space at the end will be ignored so it can not find the folder with the name including the space at the end.
from fast-pathology.
This is likely an issue if the filename has a space anywhere, not just at the end.
A fix in FAST was added to handle full paths with space in them, such that FAST POs like fast.WholeSlideImageImporter
can read these files, but we have likely not yet added the same fix to FP yet.
After inference, the result will be moved to the Project folder, and as it fails to use this filename, for whatever reason, the result won't be loaded correctly. AFAIK, right after inference, the prediction might actually just disappear from the viewer. Is that correct, @SoroushOskouei?
from fast-pathology.
I think when you create a folder that has a name with spaces at the end the OS will ignore them. For example "folder " will be created as "folder". This does not happen if the space is in the middle. That is why FP cannot find it when the space is at the end.
from fast-pathology.
I think when you create a folder that has a name with spaces at the end the OS will ignore them.
That's surprising to me. I just tried on macOS, and I could not reproduce this issue. This I tried outside FP, just on my macbook. Is this a Windows-issue maybe? Or Qt-related?
Could you try just making a folder through the Windows terminal, like so: mkdir "test_dir "
? Note the added space " "
.
from fast-pathology.
@andreped and I were able to reproduce this issue. For an image with space at the end of the filename (e.g., "some_image .svs"
), the space is lost inside the Project when making the result directory, and thus after inference, the segmentation vanishes. Result is also not stored, likely because FP was unable to find an existing path to store the result.
from fast-pathology.
Related Issues (20)
- Unable to read WSI if Γ¦/ΓΈ/Γ₯ in path
- Alignment issue with overlay HOT 6
- Error parsing pipeline! Failed to build CUDA engine for TensorRT.
- Failed to build CUDA engine for TensorRT HOT 5
- Opening segmentation output HOT 11
- Generating new pipeline with batched input HOT 5
- Inference with HoVer-net: "Out of bounds cropping not allowed, but offset was below 0" HOT 2
- Support for multi-label classification HOT 7
- Feature requests: additions to "Display" view
- macOS installer results in error on opening on 10.15
- Exported Pyramidal TIFF shifted in QuPath HOT 3
- color issue on segmentations when running multiple models HOT 2
- Ubuntu install doesn't find libQt5Core HOT 11
- OpenCL exception on Mac HOT 34
- Viewport only takes a quarter of the available space in MacOS HOT 3
- Is there a docker image or dockerfile that can be used to setup FAST-Pathology HOT 2
- For certain WSIs I am getting error - "FAST exception caught in Qt event handler Image level is too large to convert into a FAST image" HOT 18
- The pipeline is throwing Segmentation Fault (Core Dumped) while trying to replicate BACH classification pipeline in Python which is working if I try to process same file via front end application HOT 20
- Pathologist claims the class labels are incorrect in UI HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-pathology.