This repository has been archived by the owner on Jan 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Nothing happens when generating with the ---PROMPT--- #8
Comments
Maybe it is too slow on your system? What are your hardware specs?
…On Thu, Aug 29, 2019 at 7:53 PM timpal0l ***@***.***> wrote:
----PROMPT----
Hello world, this is some sample text that you can use!!
WARNING:tensorflow:From /home/timisb/.local/lib/python3.6/site-packages/tensorflow/python/data/ops/dataset_ops.py:494: py_func (from tensorflow.python.ops.script_ops) is deprecated and will be removed in a future version.
Instructions for updating:
tf.py_func is deprecated in TF V2. Instead, there are two
options available in V2.
- tf.py_function takes a python function which manipulates tf eager
tensors instead of numpy arrays. It's easy to convert a tf eager tensor to
an ndarray (just call tensor.numpy()) but having access to eager tensors
means `tf.py_function`s can use accelerators such as GPUs as well as
being differentiable using a gradient tape.
- tf.numpy_function maintains the semantics of the deprecated tf.py_func
(it is not differentiable, and manipulates numpy arrays). It drops the
stateful argument making all functions stateful.
WARNING:tensorflow:From language_generation.py:603: DatasetV1.make_one_shot_iterator (from tensorflow.python.data.ops.dataset_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use `for ... in dataset:` to iterate over a dataset. If using `tf.estimator`, return the `Dataset` object directly from your input function. As a last resort, you can use `tf.compat.v1.data.make_one_shot_iterator(dataset)`.
0%| | 0/1 [00:00<?, ?it/s]
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8?email_source=notifications&email_token=AIKQ2WBZ7K4G2G3GWYRN273QG7LVNA5CNFSM4ISC5QFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HIG4G3Q>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIKQ2WAKF3EPDMBWICG7OY3QG7LVNANCNFSM4ISC5QFA>
.
|
I'm seeing the same thing:
The Python process appears to be using multiple cores and about 5-7 GB of memory. |
I modified the arguments a bit and was able to get some decent results: Tonight the world's first ever launch of the Thundertron is taking place, bringing together the world, cities, countries, large and small, some from across the globe with the new, open and spectacular City of the Thunder. python language_generation.py |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Been stuck like this for 1 hour.
The text was updated successfully, but these errors were encountered: