php / doc-ru Goto Github PK
View Code? Open in Web Editor NEWRussian translation of the PHP documentation
Russian translation of the PHP documentation
Согласно руководству, "Extension" следует переводить как "модуль",
в старых переводах всё ещё часто встречается "расширение".
t
По ссылке список непереведённых страниц.
I looked at your change and added a comment. I'll explain this briefly here and also comment on how I see the docker_run.sh
script. TL;DR: please take a copy of docker_run.sh
and make any changes you need to it. I consider it just "sample code", ie., it's part of the docs, not code.
When you pass filenames (such as --network some/path/network.pkl
), the filename refers to a location in the running container. To make it a little easier to develop and try things out, docker_run.sh
maps the top of the stylegan2-ada-pytorch directory as a /scratch
volume in the container. So if you need a file from say $HOME/stylegan2-ada-pytorch/tmp/foo.pkl
, and you run docker_run.sh
in the $HOME/stylegan2-ada-pytorch
directory, you could point to a network for example like this:
docker_run.sh python generate.py --network ./tmp/foo.pkl
or
docker_run.sh python generate.py --network /scratch/tmp/foo.pkl
The former ./tmp/foo.pkl
relative path works because we also switch the current working directory to /scratch
when running in the container.
The README doesn't really go into these details. This is definitely a part of the repo that I'd expect people to take a copy of and extend or change any way their project needs dictate.
I didn't originally want to add docker_run.sh
in the repo at all, as these types of wrapper scripts tend to abstract away important details of their running environment, making things such as file paths and environment variables harder to get right. But OTOH, in the past StyleGAN2 releases, many people didn't even try to run Docker as the LOOONG docker run
command line incantation scared them away and had them setup a native CUDA environment instead (and we all know what types of environment debugging problems that causes.). But the benefit of a real native environment sans Docker is that some details such as filenames are just easier to deal with.
Originally posted by @nurpax in NVlabs/stylegan2-ada-pytorch#7 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.