You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details:
Almost nothing has worked out of the box by now, even the dockers way: load metadata for docker.io/tensorflow/tensorflow:1.12.0-gpu-py3: ------ failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = failed to parse /home/codespace/.docker/.token_seed: unexpected end of JSON input @6Y3GRwDjtGVo4nAe2
or
#11 0.791 File "/usr/lib/python3.5/typing.py", line 177, in _eval_type
#11 0.791 eval(self.__forward_code__, globalns, localns),
#11 0.791 File "<string>", line 1, in <module>
#11 0.791 AttributeError: module 'os' has no attribute 'PathLike'
------
executor failed running [/bin/sh -c python3 download_model.py 124M]: exit code: 1
and such, partially resolvable via a docker builders purge plus:
rm ~/.docker/.token_seed.loc
rm ~/.docker/.token_seed
but then:
#11 0.782 File "/usr/lib/python3.5/typing.py", line 177, in _eval_type
#11 0.782 eval(self.__forward_code__, globalns, localns),
#11 0.782 File "<string>", line 1, in <module>
#11 0.782 AttributeError: module 'os' has no attribute 'PathLike'
------
executor failed running [/bin/sh -c python3 download_model.py 124M]: exit code: 1
The tensorflow "dll hell" got worse since then, obviously.
Only this below has worked for me so far, so pro memoriam:
# Clone the GPT-2 repository from GitHub
git clone https://github.com/openai/gpt-2.git
conda init
bash
conda create --name gpt2 python=3.6
etc. to intialize it and then:
#!/bin/bash
# Create conda environment with Python 3.6
# Activate the conda environment
conda activate gpt2
#or source activate gpt2
# Navigate to the cloned repository
cd gpt-2/
# Install required Python packages
pip install -r requirements.txt
# Install TensorFlow and NumPy packages with specific versions
pip install tensorflow==1.15.2 numpy==1.18.0
pip install requests
pip install fire
pip install regex
# Download the 345M model
python3 ./download_model.py 345M
# Run the interactive console with the 345M model
python3 src/interactive_conditional_samples.py --model_name 345M
and then get out: conda deactivate
Interestingly, it is OpenAI ChatGPT plus Bing Chat , the daughers of this one, who has helped me troubleshoot these.
The Github Spaces box where mine runs, another fyi:
Summary:
Run e.g. this one
for a properly running version.
Details:
Almost nothing has worked out of the box by now, even the dockers way:
load metadata for docker.io/tensorflow/tensorflow:1.12.0-gpu-py3: ------ failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = failed to parse /home/codespace/.docker/.token_seed: unexpected end of JSON input @6Y3GRwDjtGVo4nAe2
or
and such, partially resolvable via a docker builders purge plus:
rm ~/.docker/.token_seed.loc
rm ~/.docker/.token_seed
but then:
The tensorflow "dll hell" got worse since then, obviously.
Only this below has worked for me so far, so pro memoriam:
etc. to intialize it and then:
and then get out:
conda deactivate
Interestingly, it is OpenAI ChatGPT plus Bing Chat , the daughers of this one, who has helped me troubleshoot these.
The Github Spaces box where mine runs, another fyi:
Ver. 1.0.1
The text was updated successfully, but these errors were encountered: