Comments (3)
Hello @Serka-M
Bonito does store model checkpoints after every epoch but unfortunately you have run into an issue just prior to that.
The traceback suggests that your converted references.npy
file has more encoded bases in that itβs expecting.
Can you load the file and check for the highest index?
>>> import numpy as np
>>> r = np.load("path/to/references.npy")
>>> np.max(r)
4
The max index expected is 4 - where the indexes {0, 1, 2, 3, 4} map to the labels {N, A, C, G, T}.
Chris.
from bonito.
Hey Chris,
The converted Taiyaki dataset is for modified base detection, so it has one extra nucleotide letter.
Is there a possibility for a "quick fix" by editing some lines in Bonito code to make it all work?
from bonito.
Okay that explains it - the labels for the model are define in the config so the quick fix would be to add the extra label, this might not be the most effective way to handle modified base however.
from bonito.
Related Issues (20)
- Model versions HOT 1
- how to cite bonito in my paper? HOT 2
- Optimise training batch_size HOT 2
- Running the example from the README.md doesn't work
- Update for remora 3.0.0 trained model?
- how bonito normalize raw signals when save-ctc HOT 1
- how to calibrate CTC-CRF model base qualities? HOT 1
- Short basecalled R9.4.1 reads using both trained and default models in bonito, but not in guppy
- Bonito Train missing dataset.py HOT 5
- RNA002 model
- RNA004 Does not output any CTC data HOT 3
- bonito basecaller max_reads HOT 1
- Bonito export for dorado error HOT 6
- Feature request: export the list of reads used to train a model
- bonito WASM
- Training data for R10.4, 4 and 5kHz? HOT 3
- Chunks.npy and Dataset.py not being generated HOT 2
- how to best fine tune a model with different references HOT 12
- Applying INT8 quantization, just like in Dorado HOT 2
- How can I set the `gpu_memory_utilization` οΌ
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 bonito.