Caihao (Chris) Cui
Caihao (Chris) Cui
[问题描述+评论](https://ask.csdn.net/questions/7612277?weChatOA=) 以下为原题主的内容 > > 今天尝试用tushare写了一个股票的监听脚本,但是想打包成exe的时候就报了 'utf-8' codec can't decode byte 0xd7 in position 2556: invalid continuation byte 这个错误 > 代码+ 结果 (请看CSDN链接)
Replace the following code from ```python import tensorflow as tf # Training samples path, change to your local path training_samples_file_path = tf.keras.utils.get_file("trainingSamples.csv", "file:///Users/zhewang/Workspace/SparrowRecSys/src/main" "/resources/webroot/sampledata/trainingSamples.csv") # Test samples path, change to...
The following cells will cause runtime issues: ```python input_ids = torch.tensor(padded) attention_mask = torch.tensor(attention_mask) with torch.no_grad(): last_hidden_states = model(input_ids, attention_mask=attention_mask)` ``` ```bash --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) in...