Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Shepah

Pages: [1]
1
General / Re: Multi GPU vs Multi server
« on: June 21, 2017, 05:42:36 PM »
Thanks for your quick analysis !

Is there possibility to reduce this global time more ?

The next update of photoscan will be on mesh generation using GPU ?

2
General / Re: Multi GPU vs Multi server
« on: June 21, 2017, 04:49:57 PM »
Here's a detailled log of photoscan process:

https://pastebin.com/cSQGCVAT

3
General / Re: Multi GPU vs Multi server
« on: June 21, 2017, 01:43:34 PM »
Hello,

Here's a first log of activity, i'll get detail with another run after that:
Code: [Select]
16:38:16: Creating new document...
16:38:16: Adding chunk...
16:38:16: Loaded 110 images.
16:38:16: Matching photos...
16:39:45: Aligning cameras...
16:40:00: Building points...
16:40:01: Optimize cameras...
16:40:02: Building points again...
16:40:02: Reloading photos (without pattern)...
16:40:05: Detecting markers...
16:41:44: Reloading photos (with pattern)...
16:41:47: Loading markers positions...
16:41:47: Updating scene transform...
16:41:47: Updating region [1]...
16:41:47: Building dense cloud...
16:49:35: Updating region [2]...
16:49:35: Building 3D model...
16:50:16: Removing flying junk...
16:50:17: Closing holes...
16:50:17: Fixing topology...
16:50:18: Smoothing model...
16:50:18: Decimating model...
16:50:23: Closing holes...
16:50:23: Fixing topology...
16:50:23: Building UV coords...
16:50:28: Reloading photos (without pattern)...
16:50:31: Disabling part of cameras for texture...
16:50:31: Building texture...
16:51:07: Exporting model...
16:51:08: Saving document...
16:51:11: Whole process ended successfully. Closing Photoscan.

Actually in the process we use 220 photos: one with normal light, another with textured light (pattern) for better mesh reconstruction

4
General / Re: Multi GPU vs Multi server
« on: June 20, 2017, 01:11:20 PM »
Hi Alexey,

We currently use it for full body scanning, we use a rig of 110 cameras to take pictures.

I thought the more overlapping, the best it was for photoscan as it was easier to "reconstruct" the model.

5
General / Multi GPU vs Multi server
« on: June 20, 2017, 08:30:09 AM »
Hi,

Currently i'm using Photoscan with big GPU rigs (Titan, TitanXP, K80...) and I see that the "filtering depth maps" is one of the longest step we have.

I wonder if any of you know what's better in performance : a big multi GPU single rig or a cluster of small servers with GPU.

For example one of our rig is 5xtitan GPU with 44 cores CPU:

Would it be better to leave it as one or make a cluster of 5 servers with 1x titan each  in term of time of processing ?

Thanks in advance for reading.

6
Python and Java API / Re: Python from 1.2.X to 1.3.0
« on: June 15, 2017, 12:30:41 AM »
All problem were fixed next, for other to read, take care of using PhotoScan.<function> rather than string
I have encountered this on loading markers ('xml' is replaced by ReferenceFormatXML )

A last question for agisoft staff, is there a max GPU that agisoft can operate ? I can set rig with 2x to 20x GPU, but if it can't operate more than 4 or 5 i'm not bothering building such servers.

7
Python and Java API / Re: Python from 1.2.X to 1.3.0
« on: June 14, 2017, 06:32:00 PM »
Thanks, that seems to do the trick, now i see other parts that fails, i'll look into it and post here if any.

Again thanks a lot Alexey Pasumansky

8
Python and Java API / Re: Python from 1.2.X to 1.3.0
« on: June 14, 2017, 06:18:29 PM »
Hello, thanks for the answer, I tried updating code to
Code: [Select]
def loadCamera(chunk, path, name):
 
  prepareSensor(chunk)
 
  # c = chunk.addCamera()
  # c.sensor = chunk.sensors[chunk.sensors.__len__()-1]
 
  # oky = c.open(path)

  # c.label = name
 
  # c.sensor.label = name
 
  # img = c.photo.image()
 
  # if img is not None:
   
    # c.sensor.width = img.width
   
    # c.sensor.height = img.height
  oky = chunk.addPhotos(path)
 
  return oky

But i get :

Code: [Select]
2017-06-14 08:16:59     oky = chunk.addPhotos(path)
2017-06-14 08:16:59 RuntimeError: Can't load photos


Maybe i skipped something :/

9
Python and Java API / Python from 1.2.X to 1.3.0
« on: June 14, 2017, 04:35:40 PM »
Hi all,

I'm currently facing a problem with my python script with Photoscan 1.3.0

This script was used with 1.2 version and worked fine. We just updated to 1.3.0 on our rigs but since the process can't run anymore.

I've isolated the problem to this part:
Code: [Select]
def loadCamera(chunk, path, name):
 
  prepareSensor(chunk)
 
  c = chunk.addCamera()
  c.sensor = chunk.sensors[chunk.sensors.__len__()-1]
 
  oky = c.open(path)

  c.label = name
 
  c.sensor.label = name
 
  img = c.photo.image()
 
  if img is not None:
   
    c.sensor.width = img.width
   
    c.sensor.height = img.height
   
 
  return oky

this part loads our photo, but oky is returned in NoneType.

Any idea ? Maybe Python lib change use others functions.

I've tried to follow up with http://www.agisoft.com/pdf/photoscan_python_api_1_3_0.pdf but i can't find any solutions.

Lemme know if you need more code.

Thanks in advance

Pages: [1]