Comments (3)
Hello, you can use the official docker from dockerhub for reproducing my environment
docker pull sanghyukchun/pcme:torch1.2-apex-dali
Also, when I checked pip freeze | grep apex
I got apex==0.1
Hope this answer can help you
from pcme.
BTW, you can omit apex if you do not use the FP16 option. Just set use_fp16: False
from the configuration
https://github.com/naver-ai/pcme/blob/main/config/coco/pcme_coco.yaml#L61
or, simply
python train.py <default options> --train__use_fp16 0
from pcme.
Appreciate your assistance!
After some experimentation, I found that using torch==1.8.0+cu111, torchvision=0.9.0+cu111, and torchtext==0.5.0 resolves the issue. Upgrading to this version of torch enabled integration with apex, although using the --train__use_fp16 option also provided a viable solution. The specific apex commit id that worked for me was ae75763.
On another note, I recommend adding pyyaml==5.4.1 to the requirements file. Newer versions of pyyaml alter the API, making them incompatible with the project code.
from pcme.
Related Issues (10)
- .t7 caption files HOT 6
- confused about loss function HOT 8
- loss functions HOT 2
- Codebase/models as baseline: Performances with other losses HOT 4
- how to get instances_train2014.json HOT 4
- how to get the trainval35k coco dataset HOT 3
- RuntimeError: generator raised StopIteration HOT 9
- where is the val set HOT 8
- Visualization of representations HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pcme.