Thom Miano
Thom Miano
To get preprocess.py running for Hacker News, I did the following from the lda2vec root: ``` mkdir ./examples/hacker_news/lib cp -r ./lda2vec ./examples/hacker_news/lib/ ``` In the hacker_news data/preprocess.py file I added...
Rotating a page, e.g., using `page.RotateClockwise()` only updates the `/Rotate` attribute: ```python def rotateClockwise(self, angle): """ Rotates a page clockwise by increments of 90 degrees. :param int angle: Angle to...
`python 3.8.0` `efficientnet-pytorch==0.7.0` I'm attempting to use EfficientNet for a transfer learning task. I am loading the model like: ```python model = EfficientNet.from_pretrained("efficientnet-b0", num_classes=2) ``` I'm training on multiple GPUs...
@anguyen8 I'm trying to run the fifth example, but I encounter the following error: ``` root@8c4e9b11f13b:~/ppgn# ./5_caption_conditional_sampling.sh a_church_steeple_that_has_a_clock_on_it libdc1394 error: Failed to initialize libdc1394 ------------- sentence: a_church_steeple_that_has_a_clock_on_it n_iters: 200 reset_every:...
I made a Dockerfile of your PPGN implementation, for GPU use with CUDA 8. Source code available on github: https://github.com/thommiano/ppgn-docker/blob/master/Dockerfile and it's also available on Dockerhub: https://hub.docker.com/r/socraticdatum/ppgn/