This script allows you to fix the broken ubuntu packages.
Most of the time the broken packages will be fixed by removing them.
Getting Started | Documentation | License |
---|
import torch | |
from torch import LongTensor | |
from torch.nn import Embedding, LSTM | |
from torch.autograd import Variable | |
from torch.nn.utils.rnn import pack_padded_sequence, pad_packed_sequence | |
## We want to run LSTM on a batch of 3 character sequences ['long_str', 'tiny', 'medium'] | |
# | |
# Step 1: Construct Vocabulary | |
# Step 2: Load indexed data (list of instances, where each instance is list of character indices) |
This script allows you to fix the broken ubuntu packages.
Most of the time the broken packages will be fixed by removing them.
Getting Started | Documentation | License |
---|
Documentation: http://www.foolabs.com/xpdf/download.html
brew install poppler
pdftotext document.pdf text_file.txt