lindayong

Results 9 comments of lindayong

I have installed Python2 as well as Python3 in my Ubuntu15.04, and build the FakeVim as mentioned in README.md (qmake; make) There are no errors occur in console, but I...

I get an error while I run the command: `python3 ./build.sh` > ➜ python python3 ./build.sh > File "./build.sh", line 10 > export QMAKE=${QMAKE:-qmake} > ^ > SyntaxError: invalid syntax...

The structure of this project is like this: ``` ------------------- fakevim | ------------------- python | ----------------------- fakevim.sip | ----------------------- build.sh | ----------------------- configure.py | ----------------------- test.py ``` However, the content...

I follow the way, but get the following error: ``` /usr/bin/ld: cannot find -lfakevim collect2: error: ld returned 1 exit status Makefile:161: recipe for target 'FakeVim.so' failed make: *** [FakeVim.so]...

I move to this step: `PYTHON=python3 ./python/build.sh`, and get the error: ``` + export PYTHONPATH=/home/panjinbo/software/FakeVim-master/build + PYTHONPATH=/home/panjinbo/software/FakeVim-master/build + python3 /home/panjinbo/software/FakeVim-master/python/test.py python3: siplib.c:8505: sip_api_can_convert_to_type: Assertion `(((td)->td_flags & 0x0007) == 0x0000) ||...

I feel confused when I rebuild `PyQt-gpl-5.5.1` with `sip-4.16.3` and the errors occur: ``` Error: This version of PyQt5 requires sip 4.16.6 or later. ``` In order to use FakeVim...

> > 1. 你可以在model 那里 把retrun pred 换成return pred, graph_repr 就可以获得每个分子的表示了. > > 2. 引入DownstreamModel的先后顺序应该不影响内部proteinmodel的加载 > > 上面说的化合物分子通过更改return pred, graph_repr我理解了,那蛋白分子表示获取应该怎么更改呢 您好,[蛋白质tutorial](https://github.com/PaddlePaddle/PaddleHelix/blob/dev/tutorials/protein_pretrain_and_property_prediction_tutorial_cn.ipynb)的模型推断部分部分介绍了如何使用训练后的模型对给定的蛋白分子进行性质预测。这里可以拿encoder_model的输出encoder_repr作为蛋白分子表示,具体代码如下: ``` predict_model` = "./models/epoch_0.pdparams" paddle.set_device("gpu") encoder_model = ProteinEncoderModel(model_config, name='protein')...

> > encoder_repr = encoder_model(texts, pos) > > print(encoder_repr.shape) > > 感谢回复,这样得到的shape看是[2, 362, 1024],案例是两个蛋白质氨基酸序列,362是指?整个蛋白的表示是取哪个呢 > > ``` > Tensor(shape=[2, 362, 1024], dtype=float32, place=CPUPlace, stop_gradient=False, > [[[ 0.00685551, -0.01426834, 0. ,...

> > > > encoder_repr = encoder_model(texts, pos) > > > > print(encoder_repr.shape) > > > > > > > > > 感谢回复,这样得到的shape看是[2, 362, 1024],案例是两个蛋白质氨基酸序列,362是指?整个蛋白的表示是取哪个呢 > > > ``` >...