Comments (4)
Dear Author:
I meet an error When I test the model after I use the code
"th src/train.lua -phase test -gpu_id 1 -load_model -model_dir model/html -visualize
-data_base_dir data/html_64_64_100k/data/
-data_path data/html_64_64_100k/html_test.txt
-label_path data/html_64_64_100k/html_sources.txt
-output_dir results
-max_num_tokens 400 -max_image_width 64 -max_image_height 64
-batch_size 80 -beam_size 5 "
And the Error message is:
HCudaCheck FAIL file=/root/torch/extra/cutorch/lib/THC/generated/../generic/THCTensorMathPointwise.cu line=157 error=59 : device-side assert triggered
/root/torch/install/bin/luajit: /root/torch/install/share/lua/5.1/nn/THNN.lua:110: cuda runtime error (59) : device-side assert triggered at /root/torch/extra/cutorch/lib/THC/generated/../generic/THCTensorMathPointwise.cu:157
stack traceback:
[C]: in function 'v'
/root/torch/install/share/lua/5.1/nn/THNN.lua:110: in function 'Sigmoid_updateOutput'
/root/torch/install/share/lua/5.1/nn/Sigmoid.lua:4: in function 'func'
/root/torch/install/share/lua/5.1/nngraph/gmodule.lua:345: in function 'neteval'
/root/torch/install/share/lua/5.1/nngraph/gmodule.lua:380: in function 'forward'
src/model/model.lua:370: in function 'feval'
src/model/model.lua:912: in function 'step'
src/train.lua:116: in function 'train'
src/train.lua:299: in function 'main'
src/train.lua:305: in main chunk
[C]: in function 'dofile'
/root/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50
Can you give me some advice?
from im2markup.
Hmm weird, have you checked your torch installation? For example by
th -ltorch -e "torch.test()"
and
th -lnn -e "nn.test()"
from im2markup.
Hmm weird, have you checked your torch installation? For example by
th -ltorch -e "torch.test()"
and
th -lnn -e "nn.test()"
I rebuilt the dictionary and I use the model that I train.it Succeed.
thanks!
from im2markup.
Great. Closing.
from im2markup.
Related Issues (20)
- - HOT 1
- not working for below type of images (other than given by you). I think we need to put images in particular format HOT 8
- can anyone share the trained model file which is genralized on any type of image like mathpix HOT 3
- [Please Respond] Can you help me training the model for to recognize the out of given data image set HOT 1
- how to remove katex parser error HOT 1
- target vocab size HOT 5
- There is a bug in preprocess_latex.js HOT 3
- error importation cudnn HOT 20
- [regarding real dataset] Please respond HOT 18
- I am getting None with intermediate weights HOT 1
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe7 in position 2270: invalid continuation byte HOT 7
- How to make code show predicted mathematical expression in latex format HOT 1
- can you explain about value 'Accuracy'?
- why downsample by 2 in preprocess HOT 2
- Why using lua instead of python? HOT 1
- can you explain src\modeel\cnn.lua
- Getting low accuracy using customized images for test. HOT 2
- 'perl' and 'cat' is not recognized
- Can you provide a vocab dictionary?
- The python version of the dataset resource is not working
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 im2markup.