jason9693 / MusicTransformer-tensorflow2.0

implementation of music transformer with tensorflow-2.0 (ICLR2019)
MIT License
355 stars 81 forks source link

No python-apt==1.6.4 and bc-dvc-init==0.3.0 #15

Open Asuka0002 opened 4 years ago

Asuka0002 commented 4 years ago

Where can I find these files?

thekevinscott commented 4 years ago

I'm running into the same issues; can't find matching packages for python-apt and bc-dvc-init:

Exception:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 353, in run
    wb.build(autobuilding=True)
  File "/usr/lib/python3/dist-packages/pip/wheel.py", line 749, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 554, in _prepare_file
    require_hashes
  File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 278, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 465, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 423, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/lib/python3/dist-packages/pip/index.py", line 568, in _get_pages
    page = self._get_page(location)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 683, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 795, in get_page
    resp.raise_for_status()
  File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/models.py", line 935, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://pypi.org/simple/bc-dvc-init/
thekevinscott commented 4 years ago

This requirements.txt seems to work for me, at least through training:

absl-py==0.7.1
alembic==1.0.11
appdirs==1.4.3
asciimatics==1.11.0
asn1crypto==0.24.0
astor==0.8.0
boto3==1.9.115
botocore==1.12.180
certifi==2018.1.18
chardet==3.0.4
Click==7.0
cloudpickle==1.2.2
colorama==0.4.1
config==0.4.2
configobj==5.0.6
configparser==3.7.4
contextlib2==0.5.5
cryptography==2.1.4
databricks-cli==0.8.7
decorator==4.4.0
distro==1.4.0
docker==4.0.2
docutils==0.14
dvc==0.50.1
entrypoints==0.3
Flask==1.0.3
funcy==1.12
future==0.17.1
gast==0.3.3
git-url-parse==1.2.2
gitdb2==2.0.5
GitPython==2.1.11
google-pasta==0.1.8
grandalf==0.6
grpcio==1.28.1
gunicorn==19.9.0
h5py==2.10.0
humanize==0.5.1
idna==2.6
inflect==2.1.0
itsdangerous==1.1.0
Jinja2==2.10.1
jmespath==0.9.4
jsonpath-ng==1.4.3
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
keyring==10.6.0
keyrings.alt==3.0
Mako==1.0.12
Markdown==3.1.1
MarkupSafe==1.1.1
mido==1.2.9
mlflow==1.0.0
nanotime==0.5.2
networkx==2.3
numpy==1.18.4
pandas==0.24.2
pathspec==0.5.9
pbr==5.3.1
Pillow==6.2.0
ply==3.11
pretty-midi==0.2.8
progress==1.5
protobuf==3.8.0
psutil==5.6.2
pyasn1==0.4.6
pycairo==1.19.1
pycrypto==2.6.1
pyfiglet==0.8.post1
pygobject==3.36.0
pyparsing==2.4.0
python-dateutil==2.8.0
python-editor==1.0.4
pytz==2019.1
pyxdg==0.25
PyYAML==5.1.1
querystring-parser==1.2.3
requests==2.23.0
ruamel.yaml==0.16.10
s3transfer==0.2.1
schema==0.7.0
SecretStorage==2.3.1
shortuuid==0.5.0
simplejson==3.16.0
six==1.12.0
smmap2==2.0.5
SQLAlchemy==1.3.5
sqlparse==0.3.0
ssh-import-id==5.7
tabulate==0.8.3
tb-nightly==1.14.0a20190603
tensorflow-gpu==2.2.0rc4
termcolor==1.1.0
treelib==1.5.5
urllib3==1.22
wcwidth==0.1.7
websocket-client==0.56.0
Werkzeug==0.15.4
wrapt==1.11.1
zc.lockfile==1.4
tensorflow-probability==0.9.0
Tywyll commented 4 years ago

I did it, I did it on Windows 10+Visual Studio Code 1.19.3+Python 3.7.5!!! It was hell...

In such case: absl-py==0.7.1 alembic==1.0.11 appdirs==1.4.3 asciimatics==1.11.0 asn1crypto==0.24.0 astor==0.8.0 boto3==1.9.115 botocore==1.12.180 certifi==2018.1.18 chardet==3.0.4 Click==7.0 cloudpickle==1.2.2 colorama==0.4.1 config==0.4.2 configobj==5.0.6 configparser==3.7.4 contextlib2==0.5.5 databricks-cli==0.8.7 decorator==4.4.0 distro==1.4.0 docker==4.0.2 docutils==0.14 dvc==0.50.1 entrypoints==0.3 Flask==1.0.3 funcy==1.12 future==0.17.1 gast==0.3.3 git-url-parse==1.2.2 gitdb2==2.0.5 GitPython==2.1.11 google-pasta==0.1.8 grandalf==0.6 grpcio==1.28.1 gunicorn==19.9.0 h5py==2.10.0 humanize==0.5.1 idna==2.6 inflect==2.1.0 itsdangerous==1.1.0 Jinja2==2.10.1 jmespath==0.9.4 jsonpath-ng==1.4.3 Keras-Applications==1.0.8 Keras-Preprocessing==1.1.0 keyring==10.6.0 keyrings.alt==3.0 Mako==1.0.12 Markdown==3.1.1 MarkupSafe==1.1.1 mido==1.2.9 mlflow==1.0.0 nanotime==0.5.2 networkx==2.3 numpy==1.18.4 pandas==0.24.2 pathspec==0.5.9 pbr==5.3.1 Pillow==6.2.0 ply==3.11 pretty-midi==0.2.8 progress==1.5 protobuf==3.8.0 psutil==5.6.2 pyasn1==0.4.6 pyfiglet==0.8.post1 pyparsing==2.4.0 python-dateutil==2.8.0 python-editor==1.0.4 pytz==2019.1 pyxdg==0.25 PyYAML==5.1.1 querystring-parser==1.2.3 requests==2.23.0 ruamel.yaml==0.16.10 s3transfer==0.2.1 schema==0.7.0 SecretStorage==2.3.1 shortuuid==0.5.0 simplejson==3.16.0 six==1.12.0 smmap2==2.0.5 SQLAlchemy==1.3.5 sqlparse==0.3.0 ssh-import-id==5.7 tabulate==0.8.3 tb-nightly==1.14.0a20190603 tensorflow-gpu==2.2.0rc4 termcolor==1.1.0 treelib==1.5.5 urllib3==1.22 wcwidth==0.1.7 websocket-client==0.56.0 Werkzeug==0.15.4 wrapt==1.11.1 zc.lockfile==1.4 tensorflow-probability==0.9.0

pycairo, pycrypto, cryptography are installed manually. Also I installed gobject instead pygobject. Moreover, I needed to install CUDA and cudnn and made some minor changes in source code.

P.S. We can forget about installing python-apt on Windows I think...

gregwinther commented 4 years ago

The requirements.txt file appears to be a dump of the entire environment used in development. The only stuff I needed was the following,

progress
tensorflow
pretty_midi
config
tensorflow-probability

Did not need to specify versions.

ghalestrilo commented 3 years ago

Same. I just commented out whatever was breaking