-
The person I moderate/admin for on discord leaves most of the work to me as he has limited understanding of how Discord works. Unfortunately this means that I am not the discord owner. This makes setu…
-
![screenshot](https://user-images.githubusercontent.com/34399595/108295066-0d144580-7165-11eb-8a08-a3bd64431a09.PNG)
miro can you please fix this thank you
-
翻来覆去睡不着,还是问问老师吧,以下是我一个晚上的思路:
老师教材里有判断一个数是否为质数的函数,可以拿来用
我就按直播的例子写了class primes,初始值为1
写到next方法,觉得偶数可以都排除掉,所以不断加2就好
可是第一个质数2放在哪里?想起老师讲colorbot时用了列表,就把2放到初始列表里
后面迭代可以用append( )把后续元素加进去
然后这个无限元素的…
-
import random
class colorBot(Bot):
def __init__(self):
self.q = "What's your favorite color?"
def think(self, s):
colors = ['red', 'orange', 'yellow', 'green',…
-
I got this error when I run: python main.py
Traceback (most recent call last):
File "main.py", line 121, in
main()
File "main.py", line 69, in main
data_dir=data_dir, url=SOURCE_TRA…
-
**System information**
- Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No (Used script provided in Tensorflow)
- OS Platform and Distribution (e.g.,…
-
### System information
- **Have I written custom code (as opposed to using a stock example script provided in TensorFlow)**: Well, I added patches
- **OS Platform and Distribution (e.g., Linux Ubunt…
-
tf-nightly: 1.8.0.dev20180329 (latest Windows 10 build)
Sample Code:
```python
import tensorflow as tf
import tensorflow.contrib.eager as tfe
from tensorflow.python.training import checkpointab…
-
There is a serious bug with LUIS and Skype groupchats.
When I interact with bout 1:1, it is ok and querys into Luis come in as expected, but whenever I use groupchat, for some reason the incoming quer…
-
Given openssl that is configured as:
```
CC=musl-gcc ./Configure linux-x86_64 --openssldir=/etc/ssl --prefix=/usr/local/musl no-shared zlib no-zlib-dynamic enable-montasm enable-md2 enable-ec_nist…