Comments (9)
Could you give the error report? I cannot get the point.
from reltr.
from reltr.
hello, i reduced the error message to this: from datasets import build_dataset, get_coco_api_from_dataset in datasets folder there are no build_dataset neither get_coco_api_from_dataset py files. How can i get them?
from reltr.
i started train successfully, but this time gives that error after 2-3 hours later: File "main.py", line 191, in main
train_stats = train_one_epoch(model, criterion, data_loader_train, optimizer, device, epoch, args.clip_max_norm)
File "C:\Users\Uğur\Desktop\reltr\engine.py", line 61, in train_one_epoch
torch.nn.utils.clip_grad_norm_(model.parameters(), max_norm)
File "C:\anaconda\envs\reltr\lib\site-packages\torch\nn\utils\clip_grad.py", line 38, in clip_grad_norm_
if clip_coef < 1:
RuntimeError: CUDA error: unknown error thank you for solutions
from reltr.
hello, i reduced the error message to this: from datasets import build_dataset, get_coco_api_from_dataset in datasets folder there are no build_dataset neither get_coco_api_from_dataset py files. How can i get them?
Have you already installed pycocotools? I guess this is the reason.
from reltr.
i started train successfully, but this time gives that error after 2-3 hours later: File "main.py", line 191, in main train_stats = train_one_epoch(model, criterion, data_loader_train, optimizer, device, epoch, args.clip_max_norm) File "C:\Users\Uğur\Desktop\reltr\engine.py", line 61, in train_one_epoch torch.nn.utils.clip_grad_norm_(model.parameters(), max_norm) File "C:\anaconda\envs\reltr\lib\site-packages\torch\nn\utils\clip_grad.py", line 38, in clip_grad_norm_ if clip_coef < 1: RuntimeError: CUDA error: unknown error thank you for solutions
It shows that something goes wrong during the gradient clipping. I have never seen this but it may be caused by the wrong cuda version. Make sure that you are using pytorch==1.6.0 cudatoolkit=10.1. If you want to use RTX30 GPU, please use CUDA11.
from reltr.
when install
conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=11 -c pytorch
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
and train not starting :) i tried several pytorch versions and started train but interrupt likely in half of first epoch..
from reltr.
I have never tried the code on Windows. For Linux/RTX3090/CUDA11.1/PyTorch1.10/, it works well.
from reltr.
code works on windows fine. you just have a torch error instead of an error related to this repository. GL.
from reltr.
Related Issues (20)
- convert the reltr model to onnx forma
- about Predcls HOT 1
- Evaluation HOT 3
- checkpoint should be updated with enhanced version HOT 1
- Some misunderstanding about the heat map using to predict Relationship HOT 2
- Error during training in bbox.pyx : ValueError: Buffer dtype mismatch, expected 'DTYPE_t' but got 'double' HOT 1
- 请问如何将inference.py得到的场景图保存成一个json文件呢 HOT 1
- What happens when there are no relations in a sample? HOT 2
- When I was training data, I encountered an error HOT 1
- About OpenV6 HOT 3
- How to use the resulting weight file for evaluation HOT 1
- 1 HOT 5
- I can only get the relationships between entities, how can I get the scene graph? HOT 1
- Unable to train on a single GPU - ChildFailedError( torch.distributed.elastic.multiprocessing.errors.ChildFailedError HOT 1
- Incompatible tensor size when a running a batch size of 2 HOT 2
- demo HOT 3
- 关于openimages的数据处理问题 HOT 1
- Generated checkpoint files throwing error when trying to infere an image HOT 1
- Training failed on custom data set HOT 1
- Inference code for Open Images? HOT 3
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 reltr.