From Walden's comparison "Like pygmies, we fight with cranes" , the statement compares people with pygmies. This is because he describes to use cranes, when they enter a fight, which is similar to way pygmies fight.
Hope my answer has come to satisfy your query.