Comments (5)
Topaz can parse tif files without any issue. However, denoise train does not work on the movie frames. These need to be aligned and summed first.
from topaz.
Thanks for your help. I had successfully split the movie frames and summed them into two group mrc files. However, a new problem had been appeared when I tried to train the denoise model for micrographs. Here is the error information:
......
93 0.9685644149780274 0
94 0.9719996452331543 0
95 0.9726578831672669 0
96 0.972616457939148 0
97 0.9692490220069885 0
98 0.971499752998352 0
99 0.9668266415596009 0
100 0.9698738217353821 0
Traceback (most recent call last):
File "/home/spuser/WN/anaconda3/envs/topaz/bin/topaz", line 33, in
sys.exit(load_entry_point('topaz-em==0.2.5', 'console_scripts', 'topaz')())
File "/home/spuser/WN/anaconda3/envs/topaz/lib/python3.6/site-packages/topaz/main.py", line 148, in main
args.func(args)
File "/home/spuser/WN/anaconda3/envs/topaz/lib/python3.6/site-packages/topaz/commands/denoise.py", line 535, in main
if not os.path.exists(args.output):
File "/home/spuser/WN/anaconda3/envs/topaz/lib/python3.6/genericpath.py", line 19, in exists
os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
I just use the command:
topaz denoise -a partA/ -b partB/ --save-prefix models/
Please help me, I'm not good at python programming.
Ning
from topaz.
Actually, this looks like a bug in topaz denoise
. You can work around it by setting the --output
flag to a directory name (like --output ./
).
Really, when training the denoising model without passing any additional micrographs to denoise, though, we shouldn't require this parameter. @DarnellGranberry can you add a quick check for len(micrographs) < 1
and skip processing if it is to avoid this problem?
from topaz.
Just added the check. @ning-2022 if you're using v0.2.5 (from pip/conda), then you will still need to use the workaround Tristan gave; if you installed from source, then you can pull master for the updated lines.
from topaz.
from topaz.
Related Issues (20)
- Plot training metrics by default?
- topaz is not using gpu HOT 7
- from topaz.utils.data.loader import load_image ModuleNotFoundError: No module named 'topaz.utils'; 'topaz' is not a package HOT 1
- 0.2.5 vs 0.2.5a HOT 1
- MRC library version incompatible HOT 5
- Topaz training error in multiprocessing data loader
- topaz convert: when image_name is numbers like "001", one error HOT 2
- RuntimeError: Could not infer dtype of numpy.int64 HOT 3
- Version string rejected by cryoSPARC HOT 2
- PyTorch confilct with NumPy HOT 1
- Running topaz denoise HOT 7
- Computing Metrics
- Training a denoising model on single exposure micrographs (no frames/movies), even possible? HOT 6
- Preparing training data HOT 2
- Determining the downsampling factor & radius HOT 4
- "score" in the output file
- Radius for `topaz train`
- ModuleNotFoundError: No module named 'pkg_resources'
- Running Topaz on HPC got RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED HOT 2
- Missing output flag in Topaz gui to train denoise model HOT 7
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 topaz.