Comments (10)
i updated. can you check this error is solved?
from racnn-pytorch.
I have checked this update, but there are still problems.Do you know what the problem is? In addition, is your mailbox available([email protected])? I suggest that we can use e-mail or other means to achieve timely communication.
[] pre_apn_epoch[13], || pre_apn_iter 19980 || pre_apn_loss: 0.0925 || Timer: 0.1519sec
[] Swtich optimize parameters to Class
Traceback (most recent call last):
File "/home/alex/Experiment/RACNN-pytorch/trainer.py", line 306, in
train()
File "/home/alex/Experiment/RACNN-pytorch/trainer.py", line 129, in train
new_apn_loss = pairwise_ranking_loss(preds)
File "/home/alex/Experiment/RACNN-pytorch/models/Loss.py", line 20, in pairwise_ranking_loss
return torch.zeros(1).type(preds.type())
AttributeError: 'list' object has no attribute 'type'
Exception ignored in: <bound method _DataLoaderIter.del of <torch.utils.data.dataloader._DataLoaderIter object at 0x7f065e408c50>>
Traceback (most recent call last):
File "/home/alex/.local/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 399, in del
self._shutdown_workers()
File "/home/alex/.local/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 378, in _shutdown_workers
self.worker_result_queue.get()
File "/usr/lib/python3.5/multiprocessing/queues.py", line 345, in get
return ForkingPickler.loads(res)
File "/home/alex/.local/lib/python3.5/site-packages/torch/multiprocessing/reductions.py", line 151, in rebuild_storage_fd
fd = df.detach()
File "/usr/lib/python3.5/multiprocessing/resource_sharer.py", line 57, in detach
with _resource_sharer.get_connection(self._id) as conn:
File "/usr/lib/python3.5/multiprocessing/resource_sharer.py", line 87, in get_connection
c = Client(address, authkey=process.current_process().authkey)
File "/usr/lib/python3.5/multiprocessing/connection.py", line 487, in Client
c = SocketClient(address)
File "/usr/lib/python3.5/multiprocessing/connection.py", line 614, in SocketClient
s.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused
Process finished with exit code 1
from racnn-pytorch.
yes. mail address is valid, but i can't focus on issue timely. i am working on other project right now. This repo is just for my hobby
from racnn-pytorch.
Well, thank you very much ,Looking forward to your update.
from racnn-pytorch.
Have you solved this problem? I encountered the same problem.
from racnn-pytorch.
I used vgg16 instead,but loss parameters do not converge.How about your experiment results now? @LXYTSOS
from racnn-pytorch.
I got another problem, RuntimeError: cuda runtime error (2) : out of memory at /pytorch/aten/src/THC/generic/THCStorage.cu:58
from racnn-pytorch.
Try to fix the batch-size to low,and keep your cuda memory enough
from racnn-pytorch.
I fixed the batch-size to one, If I only use one GPU, I'll got this error when "Swtich optimize parameters to APN", and if I use multi-GPU, no matter how many GPUs I use, I'll got this error after one batch training. check this #7
from racnn-pytorch.
@fxle i fixed the code and... sorry to tell this. For now, only cuda computation is supported to train. Not for CPU. To calculate loss, i have to know type of tensor but some case, there is no prediction so that there is no chance to check input type.
If you use GPU, it will be fine.
from racnn-pytorch.
Related Issues (20)
- hi,i don't know what happened .RuntimeError: "exp" not implemented for 'torch.LongTensor' HOT 13
- save model and predict HOT 5
- Question of formula 8 HOT 5
- some question for loss HOT 2
- about apn HOT 1
- about saving the tx ty tl HOT 1
- Hello author, I would like to ask the two documents in the picture you have given in the project? I can't find these two files in the downloaded resource. HOT 2
- RuntimeError: _th_exp_out not supported on CUDAType for Long HOT 2
- RuntimeError: It is expected output_size equals to 1, but got size 2 HOT 3
- is there some bug HOT 2
- TypeError: 'module' object is not callable HOT 1
- some mistake in the code HOT 1
- Some mistake in APN HOT 5
- Use of Average Pool to Conv5_4 layers before APN? HOT 3
- RuntimeError: CUDA out of memory. HOT 2
- Problem of backward of APN HOT 1
- some question:'RACNN' object has no attribute 'module' HOT 1
- about data and what those .txt file contain HOT 3
- error find in line 75, RACNN.py when run train.py HOT 1
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 racnn-pytorch.