Skip to content

Commit

Permalink
Update Readme.md
Browse files Browse the repository at this point in the history
Fix usage of document.getElementById
  • Loading branch information
LarryLuTW authored Nov 23, 2016
1 parent 5c653cb commit b9db2ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ net = new convnetjs.Net();
net.makeLayers(layer_defs);

// helpful utility for converting images into Vols is included
var x = convnetjs.img_to_vol(document.getElementById('#some_image'))
var x = convnetjs.img_to_vol(document.getElementById('some_image'))
var output_probabilities_vol = net.forward(x)
```

Expand Down

0 comments on commit b9db2ff

Please sign in to comment.