Comments (1)
ok, issue found;
in predict.py file, we need convert tensor returned by evaluate to list, (for tokenizer decode processing)
result = tokenizer.decode(output[0].tolist(), skip_special_tokens=True);
now works perfect; thanks! great project!!
from catr.
Related Issues (20)
- loading model HOT 4
- loading model HOT 49
- About the model explanation HOT 9
- Multiple images HOT 3
- Consideration of padding? HOT 2
- Cannot implement data parallel training for multiple GPUs HOT 1
- No simple way to test custom trained model HOT 1
- Questions on using sample images HOT 2
- Hugging Face Hub Integration HOT 5
- Specific words are preferred to be generated when I was training catr-model on my own dataset HOT 4
- RuntimeError: CUDA error: device-side assert triggered HOT 1
- Can I know loss of your pretrained model? HOT 1
- Model Performance HOT 1
- predict.py with using gpu HOT 1
- How to slice <eos> token with different sentence length HOT 7
- Beam search
- RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory HOT 1
- What the difference between v1, v2 and v3? HOT 1
- Some questions about image augmentation
- The requirements version
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 catr.